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

Choose 1 filter for 1 visualisation and apply another on second visualisation

Hello dear Community,

I have a question. 

I have two different visualizations but with identical values (Bar chart)

DimD_0-1659528605096.png

 


I have a filter on the weeks of the year.
I would like to do this:
If I select week 25 of the segment,
It shows me the value for week 25 for visualization 1 and week 26 for the other.
I tried to make a selectionvalue to determine the number of the week (Measure1)
Then on measure 1 which is a SUM(Field1) and measure 2
I thought that Calculate(Sum(Fields1), Measure 1 +1

But it doesn't work.
Do you have a idea, please ?

 

Thank you in advance

1 ACCEPTED SOLUTION
DimD
Frequent Visitor

Hello, 

I took the Date table and I put it in reference (Date2)
I add a date column + 7 days
I do the same with my main table and make it a reference (Table2)
And then
I create a relation between my fact table that I link to my Date2 table by taking for the date .
I link the Table2 with the Date 2

DimD_0-1659605727400.png

 

DimD_1-1659606090858.png

 

View solution in original post

1 REPLY 1
DimD
Frequent Visitor

Hello, 

I took the Date table and I put it in reference (Date2)
I add a date column + 7 days
I do the same with my main table and make it a reference (Table2)
And then
I create a relation between my fact table that I link to my Date2 table by taking for the date .
I link the Table2 with the Date 2

DimD_0-1659605727400.png

 

DimD_1-1659606090858.png

 

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.