Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
In my formula I am using a filter based "IN {valuesB}"
I want "valuesB" to filtered depending on values appeared in another column Something like: VAR valuesA = VALUES(Table[ColumnA]) VAR valuesB = IF(Table[ColumnB]=1;VALUES(Table[ColumnA]);"")
Solved! Go to Solution.
I tried a different aproach to the problem, using another table and it worked.
The idea was to obtain the distinct values of a second table (B) based on the selected values in a slicer from table A. The tables could not be linked so I used the selected values in table A to filter table B in DAX using the IN {values} and the function VALUES().
I know it's a bit confusing, thank you.
Hi @Anonymous ,
I have a little confused about your scenario.
If it is convenient, could you share your data sample which could reproduce your scenario and your desired output so that we could understand your requirement better and get the solution.
Best Regards,
Cherry
I tried a different aproach to the problem, using another table and it worked.
The idea was to obtain the distinct values of a second table (B) based on the selected values in a slicer from table A. The tables could not be linked so I used the selected values in table A to filter table B in DAX using the IN {values} and the function VALUES().
I know it's a bit confusing, thank you.
Hi @Anonymous ,
Have you solved your problem?
If you have solved your problem, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, please feel free to ask.
Best Regards,
Cherry
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 52 | |
| 41 | |
| 32 | |
| 26 | |
| 24 |
| User | Count |
|---|---|
| 132 | |
| 118 | |
| 57 | |
| 45 | |
| 43 |