Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Good day,
How to create runing total from a measure. I try the quick measure but it just copy the data, the running total value should be -1 day from current date. (Let say toaday is Feb 27 the value of running total should be up to Feb 26.) Daily earned is from a measure
Thank you in advance
Hi @AllanBerces
I have used a column instead of measure, you need to do mecessary changes for your data.
Here is the DAX code.
Running Total =
VAR CurrentDate = MAX('tbl2'[date])-1
RETURN
CALCULATE(
SUM(tbl2[Earning]),
FILTER(
ALL(tbl2[date]),
tbl2[date] <= CurrentDate
)
)
Here is the output for my custom data.
Good Luck!
Hi Musadev,
Thank you for your reply, but cant add column on my table.
Thank you
Are you missing some records or not able to map them with your data?
If you have similar table data and columns as shared in the query, i will update my data and will share it with you.
My Earning is from other table and measure and filter as per each category.
Can you share the Datamodel image with relationships?
Hi
My daily earning is from Daily SQL, and i used the measure to get the daily earnd. If theres a way to create calculated column, just to have an outcame i needed pls do the needful.
Thank you in advance hope to help me on this.
User | Count |
---|---|
77 | |
74 | |
42 | |
32 | |
28 |
User | Count |
---|---|
100 | |
93 | |
52 | |
50 | |
48 |