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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
MattLM
Regular Visitor

Cumulative total with filters

I have a Tabular Model that limits me to just using measures.  I do not have access to change the tabular model.

 

I have a Total Scheduled Visit tabular measure.  This is a count of [CallResultID] if [CallResultID] = 1 or 19  This is filtered by a date slicer on my report.

I have Total Actual Visits.  This is also filtered by the date slicer on the report.

Date Slicer on the report is a Relative Date. 

MattLM_0-1677001019652.png

 

I need to show Canceled Visit as of Today.  This would be Total Scheduled Visits as of today(for current month) minus Total Actual Visits.  I can edit interaction so that this chart isn't filtered by the date slicer if necessary.

Visits get scheduled for the month and they either actually happen or they don't. 

 

Right now, my canceld visits included visits that are in the future that haven't happened yet and I don't want to include those so I need a way to only count scheduled visits from the 1st of the month to the current day and then subtract the actual visits that have happened.

 

2 REPLIES 2
MattLM
Regular Visitor

@amitchandak Thanks for the response.  I will check out your suggestion when I get a chance.  Business has moved on from this need for the time being. 

amitchandak
Super User
Super User

@MattLM , I thnk you need formula similar to

 

Power BI Inventory On Hand
Power BI Inventory On Hand: https://youtu.be/nKbJ9Cpb-Aw

 

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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