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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
conclusnben
Frequent Visitor

Using One Date Table to Filter Measures Using Different Date Fields Across A Tabular Model

Hello, all,

 

I am working with a tabular model that has multiple fact tables. One for Charges, one for Encounters, and one for posted Transactions. I have three measures that need to consider three different dates in my model, each measure summing up data from different tables, and each measure using different date fields. They are as follows:

 

Charge Amt = SUM('Charges'[amt])
Encounters = DISTINCTCOUNT('Patient Encounter'[enc_id])

Transaction Amt = SUM('Transactions'[tran_amt])

 

Charge Amt must use 'Charges'[closing_date], Encounters must use 'Patient Encounter'[billable_timestamp], and Transaction Amt must use 'Transactions'[closing_date]. 

 

My question is this: how can I create these measures in a way that allows them to be filtered by a single date (say 'Master Calender'[Date]), and have them populate on visuals next to each other when rolled up to 'Provider Master'[Provider Name] or some other dimensional field that is related to 'Patient Encounter' ?

 

 

Capture.PNG

 

Any feedback is appreciated! 

 

1 REPLY 1
MFelix
Super User
Super User

Hi @conclusnben ,

 

First of all looking at your model you have all your connection with both way filtering this will make you get incorrect results since you are having multiple side filtering from different context.

 

Regarding your question you just need to create a calendar table (to what I can see you don't have any in your model) make a relationship between that table and the other 3 tables based on the date fields you need to use.

 

And finally use that calendar table as your slicer and your axis on the visualizations you need, if you are making YTD measures or some other type of calculation that needs to use date filters remember to place the calendar table always and not the date columns from the other 3 tables.

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors