The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
I need help with getting result in Power BI replicating yellow highlighted column in image shared below:
The calculation requires to get running total of all “distribution types” except “Investment” & “Payment” but in all dates with rows showing “Payment” it should keep showing “Investment” till any other type is found and then it should consider that in the calculation and reset to that value.
I have made some progress but unable to add the value after other type row is there and reset rest rows to that value. Cuurent output in power bi:
Sample of distribution table:
So I need the DAX to iterate through every row of this table and cumulate only if its any other type other than Investment or Payment, otherwise keep returning Investment value.
Any help is appreciated!
Thank You,
Prutha
User | Count |
---|---|
28 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
33 | |
13 | |
12 | |
9 | |
7 |