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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
klehar
Helper V
Helper V

Affect of 1 filter on another (both are dimension tables)

Hi,

 

I have 2 tables both are dimension tables that cannot be/should not be joined directly

Fiscal Year Quarter is my slicer on dashboard

Conditin 1 : If Fiscal Year Quarter = Fy23 : then show only FY23 workloads from Workloads table

Conditin 2 : If Fiscal Year Quarter = Fy24 : then show both FY23 and FY24 workloads from Workloads table

 

 

Table 1

DIM Date

Fiscal Year Quarter 
FY23
FY24

 

Table 2

DIM Workloads

 

WorkloadFlag
AIFY23Q2
ComputeFY24Q1
StorageFY24Q2
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @klehar ,

Please try this way:
You can try this DAX to create a new measure:

Measure = 
IF(
    SELECTEDVALUE('DIM Date'[Fiscal Year]) = "FY23",
    IF(LEFT(SELECTEDVALUE('DIM Workloads'[Flag]), 4) = "FY23", 1, 0),
    1
)

I extracted the first 4 characters in this column for comparison:

vjunyantmsft_0-1702608103027.png

Then put this measure into the "Filters on this visual":

vjunyantmsft_4-1702608368701.png

 

The results are shown below:

vjunyantmsft_2-1702608262530.png

vjunyantmsft_5-1702608401419.png

Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @klehar ,

Please try this way:
You can try this DAX to create a new measure:

Measure = 
IF(
    SELECTEDVALUE('DIM Date'[Fiscal Year]) = "FY23",
    IF(LEFT(SELECTEDVALUE('DIM Workloads'[Flag]), 4) = "FY23", 1, 0),
    1
)

I extracted the first 4 characters in this column for comparison:

vjunyantmsft_0-1702608103027.png

Then put this measure into the "Filters on this visual":

vjunyantmsft_4-1702608368701.png

 

The results are shown below:

vjunyantmsft_2-1702608262530.png

vjunyantmsft_5-1702608401419.png

Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Anonymous 

Using Left in SELECTEDVALUE is a good idea. Thanks




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





PijushRoy
Super User
Super User

@klehar 

Can you please share one sample pbix file




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





PijushRoy
Super User
Super User

Hi @klehar 

Can you please try to implement below idea
1. Create a new calculated column in Table2 which shows Fiscal Year FY23,FY24
2. Use Variable in Selectedvalue from Table 1, use SWITCH statement if FY23 selected then Table2 only show FY23 data, when  FY24 is selected that time it should REMOVEFILTER




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





I'm confused, can you demonstrate please

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors