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
unobasta
Regular Visitor

Ambiguity in date table

Hi all,
 
I have a cost report with actuals and budget that should be filter based on cost center and date.

PBI date filtering 1.PNG

 

Each cost center is connected to a service and this service can change between years.

PBI date filtering 2.PNG

So, I need that Year field in Date table would filter also CostCenterList table. Problem is this will create an ambiguity between CostCenterList and the other tables.

PBI date filtering 3.PNG

 

PBI date filtering 4.PNG

 Any idea on how to solve this would be much appreciated.

 

Thank you in advance!

2 REPLIES 2
v-eachen-msft
Community Support
Community Support

Hi @unobasta ,

 

You could create an inactive relationship and use it with USERELATIONSHIP() function in DAX.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
adambhappy
Resolver II
Resolver II

It seems like the simplest solution here is to handle it during import. 

1) Append the Budget/Actuals so that it becomes one table

2) Add a year column to the fact table

3) Merge the fact table with the cost center list using the year and cost center as columns

4) Add the service column to the fact table

 

Voila!

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.