The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
In the sample above, I'm trying to get the last two columns(have manually entered data for us to reference). I need to get the SUM of Status Total Grouped By Month and Year (regardless of status) for each person. So for Bob it would be 5 Good, 3 Bad, and 2 Redirect for 1/2018. I then need to get the Good + Redirect/ Total %. I'm having trouble getting the first part though.
Using this Measure in a table, I'm not getting the result I would expect. In this context, how would I get the SUM of StatusCount, Grouped by CallMonth and Call Year (i.e. the Measure should be equal to the values in the Status Total by Month and Year column pictured above).
Measure = CALCULATE(SUM(WebSample[StatusCount]), WebSample[CallMonth], WebSample[CallYear])
Solved! Go to Solution.
Hi, lets try with:
Status Count - Measure = SUM ( Table1[Status Count] )
Status Total by Month & Year = CALCULATE ( [Status Count - Measure]; ALL ( Table1[Status] ) )
Status Count Good and Redirect = CALCULATE ( [Status Count - Measure]; Table1[Status] IN { "Good"; "Redirect" } )
Status % Good and Redirect = DIVIDE ( [Status Count Good and Redirect]; [Status Total by Month & Year] )
Let me lnow if works in your scenario
Regards
Victor
Lima - Peru
Hi, lets try with:
Status Count - Measure = SUM ( Table1[Status Count] )
Status Total by Month & Year = CALCULATE ( [Status Count - Measure]; ALL ( Table1[Status] ) )
Status Count Good and Redirect = CALCULATE ( [Status Count - Measure]; Table1[Status] IN { "Good"; "Redirect" } )
Status % Good and Redirect = DIVIDE ( [Status Count Good and Redirect]; [Status Total by Month & Year] )
Let me lnow if works in your scenario
Regards
Victor
Lima - Peru
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 June 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
97 | |
81 | |
62 | |
54 |
User | Count |
---|---|
246 | |
119 | |
114 | |
87 | |
70 |