Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I am tying to create running total for a status "open", though i managed to do it, its continuing till end of the year 2020 though i have datas untill may-2020.
I used measure to count the monthly total (open) and using monthly total, i calculated the running total (another measure - "running total")
I am unbale to figure out why. Helps highly apppretiated
Thanks in advance
BB
Please try this expression. For me, the line chart ended where it should. I called my table Status instead.
Running Total =
CALCULATE (
[Open Count],
FILTER ( ALLSELECTED ( 'Status' ), 'Status'[Date] <= MAX ( 'Status'[Date] ) )
)
Also, I encourage you to turn off Auto Date Hierarchy in your model, to simplify your DAX expressions. The use of a separate Date table is also recommended for any model with date columns.
If this works for you, please mark it as solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Hello,
Still it dosent work. it shows me data untill november 2020 wheras as i have data untill may 2020 (graph on the left which is just montly total terminates at may 2020.
I didnt quite understand why i should remove data Hierarchy
Many thanks
BB
Hi @bishnu ,
You could create a measure to judge the sum of "open" for each year.
Measure =
IF([Open]>0,1,0)
Then add it in the filter pane to show result = 1.
Hello,
I tried but it dosent work
Regards
BB
Hi @bishnu ,
Try creating a dim table till the end of 2020 and use this field for running total and charts.
Hello,
But i dont have data till end of the yeaar. Just have data till may
Thanks
BB
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
102 | |
53 | |
21 | |
13 | |
11 |