cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
venucr9 Frequent Visitor
Frequent Visitor

Trying to create a chart with running total columns

To create this chart in excel, I had to create 2 pivots filtered on different column values because one pivot has a running total for the column values while the other pivot shows the snapshot in time for that column value. How do I create a measure in DAX so that if that row belongs to Category(Rec-Inter,Rec-Intra,Rescheduled) then do a running total of transaction $ or else just return the transaction $ for the date.Pivo.PNG

 

SUP.PNG

 I have figured out one half of the DAX query i.e.Measure = CALCULATE([Total Transaction $],FILTER('Union Query',('Union Query'[Final Output]="Rec - Inter"||'Union Query'[Final Output]="Rec - Intra"||'Union Query'[Final Output]="Reschedule/Cancelled")),FILTER('Union Query','Union Query'[OOMR Date]<=MAX('Union Query'[OOMR Date]))) which gives the running total pivot above, but the next half i.e.e where it is any other category how do i get it retunr the transaction $.Save as.PNG

 

 

Thanks,

Venu 

1 REPLY 1
Community Support Team
Community Support Team

Re: Trying to create a chart with running total columns

 hi, @venucr9

   After my test, In your formula, this condition limits your choice must in the category  is "Rec - Intra" or "Rec - Inter" or "Reschedule/Cancelled" and other category could be calculated.

5.PNG

so I think it is not necessary for this formula.

 

If it is not your case, please share pbix file or some data sample and expected output . You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.

 

 

Best Regards,

Lin

 

 

 

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

Helpful resources

Announcements
Back to School Contest

Back to School Contest

Engage and empower students with Power BI!

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Summit Australia 2019

Summit Australia 2019

Travel to Melbourne and network with thousands of peers!

PBI Community Highlights

PBI Community Highlights

Check out what's new in the Power BI Community!

Top Ideas
Users Online
Currently online: 31 members 927 guests
Please welcome our newest community members: