Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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
User | Count |
---|---|
141 | |
113 | |
104 | |
78 | |
64 |
User | Count |
---|---|
136 | |
125 | |
107 | |
70 | |
61 |