The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello Community, currently I have this measure:
Solved! Go to Solution.
Can you create a Summarize Table, using the pbi summarize function, summarize by latest date, case id and staus ?
https://learn.microsoft.com/en-us/dax/summarize-function-dax
Fantastic, Glad it worked : )
Can you create a Summarize Table, using the pbi summarize function, summarize by latest date, case id and staus ?
https://learn.microsoft.com/en-us/dax/summarize-function-dax
Got it to work by doing this:
Count of Status = VAR MaxDate = CALCULATE(MAX(TICKET_DASHBOARD_GAVATAR_HISTORICAL[Date]), ALLSELECTED(Calendar)) VAR a = CALCULATETABLE( SUMMARIZE( FILTER( TICKET_DASHBOARD_GAVATAR_HISTORICAL, TICKET_DASHBOARD_GAVATAR_HISTORICAL[Date] = MaxDate ), TICKET_DASHBOARD_GAVATAR_HISTORICAL[CASEID], TICKET_DASHBOARD_GAVATAR_HISTORICAL[Ticket Status 2] ), ALLSELECTED(Calendar) ) RETURN COUNTAX(a, TICKET_DASHBOARD_GAVATAR_HISTORICAL[Ticket Status 2])
Yep, makes sense, hence if you only want to count open or in progress, get another column in there and do your count on that column ?
I will still have the same problem, as each ticket in my data repeats every single day, and I need it to always look at those tickets (CASE ID) in the latest available date.
Can you create a calculated column ?
IF ticket staus 2 equals "Open" or "In porgress, give it a value of 1, if not 0 then use that as a filter on your card visual ?
Whilst I was looking at it now I realized what could be the problem but not yet the solution. The problem is that in my measure I am looking at a unique CASE ID only, but it is not looking at my latest entry for each one of those unique ids. Therefore if it is now in another status but he is looking at a line from an older date when it was in fact open, the he will be counting that ticket
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
18 | |
18 | |
16 | |
14 | |
12 |
User | Count |
---|---|
36 | |
35 | |
20 | |
18 | |
18 |