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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Filtered VALUES()

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]);"")

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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.

 

 

View solution in original post

3 REPLIES 3
v-piga-msft
Resident Rockstar
Resident Rockstar

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

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

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

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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