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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Gefen_Co
Frequent Visitor

How can I use user selection in order to filter a table? (Dim table is not connected to the Fact)

Hi All 😊

 

I have a Dim table that is not connected to the Fact table, as there is no connection that can be established.

In the Dim I have 2 columns => Date + Value.

The user is choosing the Date from a slicer (from the Dim table). 

 

I want that the Fact table will be updated as follows:

If the date in the Fact column is bigger than the user-selected Date,

a specific column in the fact table will be multiplied by the Dim Value.

 

How can i do this?

appreciate any help.

 

Gefen

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Gefen_Co ,

 

According to your description, here are my steps you can follow as a solution.

(1) This is my test data. 

 

DimFactvtangjiemsft_0-1689301143322.pngvtangjiemsft_1-1689301157323.png

vtangjiemsft_2-1689301167342.png

(2) We can create a measure. 

updated column = IF(MAX('fact'[date])>SELECTEDVALUE('Dim'[date]),MAX('fact'[specific column])*SELECTEDVALUE('Dim'[value]),MAX('fact'[specific column]))

(3) Then the result is as follows.

vtangjiemsft_3-1689301241228.png

 

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

 

Best Regards,

Neeko Tang

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
Anonymous
Not applicable

Hi @Gefen_Co ,

 

According to your description, here are my steps you can follow as a solution.

(1) This is my test data. 

 

DimFactvtangjiemsft_0-1689301143322.pngvtangjiemsft_1-1689301157323.png

vtangjiemsft_2-1689301167342.png

(2) We can create a measure. 

updated column = IF(MAX('fact'[date])>SELECTEDVALUE('Dim'[date]),MAX('fact'[specific column])*SELECTEDVALUE('Dim'[value]),MAX('fact'[specific column]))

(3) Then the result is as follows.

vtangjiemsft_3-1689301241228.png

 

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

 

Best Regards,

Neeko Tang

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.