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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.