The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
24 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
29 | |
11 | |
11 | |
9 | |
9 |