Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Solved! Go to Solution.
DEFINE
VAR vType = TREATAS({"CPU", "MEM","DISK"}, Tickets[Service])
EVALUATE
SUMMARIZECOLUMNS
(
ROLLUPADDISSUBTOTAL
(
Tickets[Service], "Type", vType,
TREATAS ( { "OK" }, Tickets[Status] ),
FILTER( Tickets , RELATED(ServiceOffering[Service Offering]) ="TOP" ),
FILTER ( Dates, PREVIOUSMONTH(Dates[Date] )
),
"Total Qty", COUNT(Tickets[Target])
)
This assumes you have a Dates table in your data model and that it is joined to the Close Date.
Hello
DEFINE
VAR vType = TREATAS({"CPU", "MEM","DISK"}, Tickets[Service])
EVALUATE
SUMMARIZECOLUMNS
(
ROLLUPADDISSUBTOTAL
(
Tickets[Service], "Type", vType,
TREATAS ( { "OK" }, Tickets[Status] ),
FILTER( Tickets , RELATED(ServiceOffering[Service Offering]) ="TOP" ),
FILTER ( Dates, PREVIOUSMONTH(Dates[Date] )
),
"Total Qty", COUNT(Tickets[Target])
)
This assumes you have a Dates table in your data model and that it is joined to the Close Date.
User | Count |
---|---|
18 | |
18 | |
14 | |
13 | |
13 |
User | Count |
---|---|
17 | |
14 | |
14 | |
10 | |
8 |