Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I have a table and need to add the above values to the below values.
Expected Result
MonthCategory Level 1
6 2660
12 3440
18 4372
24 4792
Similar to Level2,3,4 & 5.
Regards,
Yuvaraj
Solved! Go to Solution.
Hi @Anonymous ,
To create a measure as below.
Measure = CALCULATE ( SUM ( tbl_Complexity[CommunityCount] ), FILTER ( ALLEXCEPT ( tbl_Complexity, tbl_Complexity[Complexity] ), tbl_Complexity[Monthcategory] <= MAX ( 'tbl_Complexity'[Monthcategory] ) ) )
Hi You can use bellow Code
Level 1 Running total =
CALCULATE(
SUM('TableName'[Level1]),
FILTER(
ALLSELECTED('TableName'[MonthCategory]),
ISONORAFTER('TableName'[MonthCategory], MAX('TableName'[MonthCategory]), DESC)
)
)
Did I answer your question? Mark my post as a solution!
Hi @Anonymous ,
you can add a column with the following DAX:
Hi
Thanks for your reply.
I have Complexity column, it contains Level1,2,3,4 & 5. Using complexity I have created measures to get the count against every level.
Measure for Level 1:
Hi @Anonymous ,
To create a measure as below.
Measure = CALCULATE ( SUM ( tbl_Complexity[CommunityCount] ), FILTER ( ALLEXCEPT ( tbl_Complexity, tbl_Complexity[Complexity] ), tbl_Complexity[Monthcategory] <= MAX ( 'tbl_Complexity'[Monthcategory] ) ) )
User | Count |
---|---|
94 | |
86 | |
78 | |
69 | |
63 |
User | Count |
---|---|
113 | |
99 | |
97 | |
64 | |
59 |