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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
jct999
Advocate II
Advocate II

DAX : Complex filtering / union

Hello,

 

I have 3 tables :

TABLE1 : 2 columns

            BRAND_NAME

            VOLUME

 

TABLE2 and TABLE3 : 1 colum each

            BRAND_NAME

 

I have one slicer for TABLE2, and one slicer for TABLE3

TABLE2 and TABLE3 are « linked » to TABLE1 through BRAND_NAME columns, but I did not create relationship beetwen the tables in my model. (is it necessary?)

 

I want to calculate TABLE4 that gives me dynamicaly the rows from TABLE1 that are filtered/selected within TABLE2 (with its slicer) OR that are filtered/selected within TABLE3 (with its slicer). I would say that looks like an "union" query, without duplicates.

(Note that for some usecase reasons, I can't merge TABLE2 and TABLE3 in a single table...)


What is the DAX formula that can calculate this new TABLE4 ?

 

Regards

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @jct999 ,

 

Calculated table won't change dynamically based on slicer. It is suggested to create a measure and a table/matrix visual to get what you want.

 

Please share us some sample data and the result you want. Then, we can conduct specific tests.

 

 

 

Best Regards,

Icey

 

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

1 REPLY 1
Icey
Community Support
Community Support

Hi @jct999 ,

 

Calculated table won't change dynamically based on slicer. It is suggested to create a measure and a table/matrix visual to get what you want.

 

Please share us some sample data and the result you want. Then, we can conduct specific tests.

 

 

 

Best Regards,

Icey

 

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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