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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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