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
Fiona83
Frequent Visitor

Change dates based on other visual

Hi there,

 

Struggling to solve this one...

 

I have two data sets.

- Resource capacity in days

- Resource-demand in days

 

My source data sets have dates across the columns so I unpivoted these columns, then used a DAX formula to format these to Month and Year (then had to add a date sorter column YYYYMM)

 

Visual 1 - Shows overall demand by month

Visual 2 - I want to show demand vs Capacity. and have this change when the month is selected in Visual 1

 

But... only the demand changed, not the capacity. its always stuck on overall demand 

 

 

Fiona83_0-1664550010523.png

 

This is the relationship currently. I have tried making other relationships but doesn't solve this

Fiona83_0-1664531475938.png

 

Do I need a bridge table to solve this? 

 

here is a link to files: https://drive.google.com/drive/folders/124DXen98lGsKn0xsZNgzhBBqt6V_pPr1?usp=sharing

 

Thanks for any help 

3 REPLIES 3
amitchandak
Super User
Super User

@amitchandak Thank you. I have added a common date table in the file I shared, with the following relationship 

Fiona83_0-1664793387413.png

This hasn't solved the issue of updating capacity numbers on No 2 my visuals (the months are no longer in order in No 1) 

 

Fiona83_2-1664793799711.png

 

 How do I add a common resource table? (apologies i am a newbie at this) 

 

Thanks

I have created a common table for resources now too - This doesn't seem to have worked 

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.