Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
In order to clarify my question, I create a demo data excel. https://1drv.ms/x/s!AsM9bO8zGUN6qnXhW_xy3NskH3jT
I want to show the cumulate count of incoming issues and out issues week over week.
Such as
1901 1
1902 1+2 =3
1903 1+2+1=4
1904 1+2+1+2=6
and so on
Do you know how to do? Thank you!
Solved! Go to Solution.
Hi @hemingt
You may create measures like below:
Count = CALCULATE ( DISTINCTCOUNT ( Sheet2[Key] ), FILTER ( GENERATE ( Sheet1, Sheet2 ), Sheet1[Week] >= Sheet2[Create_Week] && Sheet1[Week] <= Sheet2[Close_Week] ) )
cumulative_count = IF ( NOT ( ISBLANK ( [Count] ) ), CALCULATE ( [Count], FILTER ( ALL ( Sheet1 ), Sheet1[Week] <= MAX ( Sheet1[Week] ) ) ) )
Regards,
Hi @hemingt
You may create measures like below:
Count = CALCULATE ( DISTINCTCOUNT ( Sheet2[Key] ), FILTER ( GENERATE ( Sheet1, Sheet2 ), Sheet1[Week] >= Sheet2[Create_Week] && Sheet1[Week] <= Sheet2[Close_Week] ) )
cumulative_count = IF ( NOT ( ISBLANK ( [Count] ) ), CALCULATE ( [Count], FILTER ( ALL ( Sheet1 ), Sheet1[Week] <= MAX ( Sheet1[Week] ) ) ) )
Regards,
Thank you @v-cherch-msft
by the way, do you know how to show data in the table according to the measure?
Hi @hemingt
I cannot understand it.Do you want to get a calculated column?
Regards,
Hi @v-cherch-msft , take the above chart as example, 'In Minor', 'In Major' ... are measures.
What I want is,
When I click 'In Minor' part on the chart at certain week, then in the right table, the data only show the Serverity is Minor for the certain week.
is it clear now?
one comment, the right table shows the source data, and the measures also were created based on these data.
Hi @hemingt
I would suggest you create a new thread on forum so that more community members can see it and provide advice. Please remember to post dummy data and desired result.
Regards,
thank you, I will create new thread
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
100 | |
80 | |
63 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |