Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi, I want to create a paerto chart use line&bar visual, the x-asix is month, and I don't know how to create a cumulative% based on month value, do you have any ideas? Thank you.
Solved! Go to Solution.
Hi,
I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
I hope the below can provide some ideas on how to create a solution for your dataset.
Value cumulate percentage by month: =
VAR _cumulatemonthvalue =
CALCULATE (
[Value measure:],
FILTER ( ALL ( Data ), Data[Month] <= MAX ( Data[Month] ) )
)
VAR _allmonthsvalue =
CALCULATE ( [Value measure:], ALL () )
RETURN
DIVIDE ( _cumulatemonthvalue, _allmonthsvalue )
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
I hope the below can provide some ideas on how to create a solution for your dataset.
Value cumulate percentage by month: =
VAR _cumulatemonthvalue =
CALCULATE (
[Value measure:],
FILTER ( ALL ( Data ), Data[Month] <= MAX ( Data[Month] ) )
)
VAR _allmonthsvalue =
CALCULATE ( [Value measure:], ALL () )
RETURN
DIVIDE ( _cumulatemonthvalue, _allmonthsvalue )
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
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 |
---|---|
90 | |
82 | |
57 | |
41 | |
39 |