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

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.

Reply
venucr9
Regular 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
v-lili6-msft
Community Support
Community Support

 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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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