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 |
---|---|
25 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
12 | |
10 | |
10 | |
9 |