Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello all,
here I want to have cumulative total by ranking order (not date) but all the column is measure column.
My current formula and figure is as below.
But I want above be like below.
Could you please help to correct my formula?
Solved! Go to Solution.
Hi @SYKim ,
Please try this measure:
Cumulative =
VAR CurrentRank = [Ranking]
RETURN
IF (
HASONEVALUE ( 'BOM'[CAT] ),
SUMX (
FILTER (
ALLSELECTED ( 'BOM'[PNO(merged)], 'BOM'[CAT] ),
[Ranking] <= CurrentRank
),
[Year 1]
),
SUMX ( ALLSELECTED ( 'BOM'[PNO(merged)], 'BOM'[CAT] ), [Year 1] )
)
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi @SYKim ,
Please try this measure:
Cumulative =
VAR CurrentRank = [Ranking]
RETURN
IF (
HASONEVALUE ( 'BOM'[CAT] ),
SUMX (
FILTER (
ALLSELECTED ( 'BOM'[PNO(merged)], 'BOM'[CAT] ),
[Ranking] <= CurrentRank
),
[Year 1]
),
SUMX ( ALLSELECTED ( 'BOM'[PNO(merged)], 'BOM'[CAT] ), [Year 1] )
)
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
hi,
Similiar with that case. How to create a measure group based on cumulative percentages like the following example
so I can display visuals like the following
I tried using an if condition but it doesn't display the values per group. Can you help to create a proper dax formula ?
thanks
OMG! it works. Thanks!
Hi,
Does this measure work?
=SUMX(TOP([Ranking],CALCULATETABLE(VALUES(BOM[PNO Merged]), ALL(BOM[PNO Merged])),[Year 1]),[Year 1])
Hi,
no it does not work. I got below message.
Share the download link of the PBI file.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
86 | |
79 | |
54 | |
39 | |
35 |
User | Count |
---|---|
102 | |
82 | |
48 | |
48 | |
48 |