Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Running Total Until TODAY on the Graph

I would like to show cumulative values just until today (or until this month, both okay) but the running total line keeps goind until the max date(end of graph) of date query. How can I stop the line on today? 


Screenshot123.png

7 REPLIES 7
MauroBote
Helper I
Helper I

Hi there.

Try writing this at the beginning of your code:

IF(MAX(Tarin $ablon[Tarin])>TODAY();"";...)
 
... = your code
 
v-jiascu-msft
Employee
Employee

Hi @Anonymous ,

 

Is the 'Tarih $ablon' the Date table? Where are the dates in the X-axis from? Please try to remove ALL from ALL('Tarih $ablon').

 

 

Best Regards,

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-jiascu-msft ,

 

Yes, 'Tarih Şablon' is the date table used in all x-axes throughout the date based graphs (there are many in the report) however I only have this issue on this graph. I tried what you said (removing ALL from 'Tarih Şablon') but it took the end of the value line to today but the sum did not work this time. The values are much smaller than the sum of the related field. A screenshot is here for you to investigate: 

 

Screenshot_1.png

vanessafvg
Super User
Super User

@Anonymous  are you able to share your file?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Anonymous
Not applicable

@vanessafvg I am sorry I cannot share the file because of confidentiality reason. (lots of confidential data included within) I also cannot seperate this page because there are lots of queries and relationship between tables and pages. 

@Anonymous 

 

cant really understand your code but you rpobably need to do something like this

 

measure =
CALCULATE (
    SUM ( Transactions[value] ),
    FILTER ( ALL ( 'Date'[Date] ), 'Date'[Date] <= TODAY () )
)

 

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Anonymous
Not applicable

@vanessafvg I tried what you said as you can see in the screenshot in my previous comment but it did not work, too. 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.