SCCM | How to create a report to show Hardware count and then OS (per HW count)
up vote
0
down vote
favorite
I never created a report in SCCM and I always used the inbuilt ones but now I need to track my PC's models per OS and I cannot find a report that can help me.
Looking online I found a few posts about counting the total of hardware models but nothing that would have the OS together in it.
Posts like
Posts like
Could you guys help me with this please? the end result would be:
Model Windows 10 Windows 7 Windows Server
DELL model 1 10 20 10
HP model 2 10 67 34
Thanks
reporting-services sccm
add a comment |
up vote
0
down vote
favorite
I never created a report in SCCM and I always used the inbuilt ones but now I need to track my PC's models per OS and I cannot find a report that can help me.
Looking online I found a few posts about counting the total of hardware models but nothing that would have the OS together in it.
Posts like
Posts like
Could you guys help me with this please? the end result would be:
Model Windows 10 Windows 7 Windows Server
DELL model 1 10 20 10
HP model 2 10 67 34
Thanks
reporting-services sccm
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I never created a report in SCCM and I always used the inbuilt ones but now I need to track my PC's models per OS and I cannot find a report that can help me.
Looking online I found a few posts about counting the total of hardware models but nothing that would have the OS together in it.
Posts like
Posts like
Could you guys help me with this please? the end result would be:
Model Windows 10 Windows 7 Windows Server
DELL model 1 10 20 10
HP model 2 10 67 34
Thanks
reporting-services sccm
I never created a report in SCCM and I always used the inbuilt ones but now I need to track my PC's models per OS and I cannot find a report that can help me.
Looking online I found a few posts about counting the total of hardware models but nothing that would have the OS together in it.
Posts like
Posts like
Could you guys help me with this please? the end result would be:
Model Windows 10 Windows 7 Windows Server
DELL model 1 10 20 10
HP model 2 10 67 34
Thanks
reporting-services sccm
reporting-services sccm
asked Oct 31 at 17:54
Maelito
32
32
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Expanding the example you already found, the query would look something like this
select cs.Model0, os.Caption0, count(*) as Count
from v_GS_COMPUTER_SYSTEM cs
left join v_GS_OPERATING_SYSTEM os
on cs.ResourceID = os.ResourceID
group by cs.Model0, os.Caption0
order by cs.Model0
so the solution is to use the so called "grouping sets" and group by more than one property which you joined from another table
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Expanding the example you already found, the query would look something like this
select cs.Model0, os.Caption0, count(*) as Count
from v_GS_COMPUTER_SYSTEM cs
left join v_GS_OPERATING_SYSTEM os
on cs.ResourceID = os.ResourceID
group by cs.Model0, os.Caption0
order by cs.Model0
so the solution is to use the so called "grouping sets" and group by more than one property which you joined from another table
add a comment |
up vote
0
down vote
Expanding the example you already found, the query would look something like this
select cs.Model0, os.Caption0, count(*) as Count
from v_GS_COMPUTER_SYSTEM cs
left join v_GS_OPERATING_SYSTEM os
on cs.ResourceID = os.ResourceID
group by cs.Model0, os.Caption0
order by cs.Model0
so the solution is to use the so called "grouping sets" and group by more than one property which you joined from another table
add a comment |
up vote
0
down vote
up vote
0
down vote
Expanding the example you already found, the query would look something like this
select cs.Model0, os.Caption0, count(*) as Count
from v_GS_COMPUTER_SYSTEM cs
left join v_GS_OPERATING_SYSTEM os
on cs.ResourceID = os.ResourceID
group by cs.Model0, os.Caption0
order by cs.Model0
so the solution is to use the so called "grouping sets" and group by more than one property which you joined from another table
Expanding the example you already found, the query would look something like this
select cs.Model0, os.Caption0, count(*) as Count
from v_GS_COMPUTER_SYSTEM cs
left join v_GS_OPERATING_SYSTEM os
on cs.ResourceID = os.ResourceID
group by cs.Model0, os.Caption0
order by cs.Model0
so the solution is to use the so called "grouping sets" and group by more than one property which you joined from another table
answered Nov 8 at 9:27
Syberdoor
1,5961513
1,5961513
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53089376%2fsccm-how-to-create-a-report-to-show-hardware-count-and-then-os-per-hw-count%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password