Reply
Fiona83
Frequent Visitor
Partially syndicated - Outbound

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

Syndicated - Outbound

@Fiona83 , Create a common date, and resource table and analyze with those

https://amitchandak.medium.com/power-bi-when-i-asked-you-to-create-common-tables-a-quick-dax-solutio...

 

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Syndicated - Outbound

@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

Syndicated - Outbound

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

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)