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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
FlowViz
Helper III
Helper III

Filtering based on value in another table

Hi guys,

 

I need your help with one of my visuals 🙂

 

I have this chart that has a dot for each item. Some of these items may be 'blocked' so I want to add a way to highlight those (in red):

 

Screenshot 2021-10-17 at 15.55.58.png

 

There is a similar (but the same) table in my dataset that has a column for this:

Screenshot 2021-10-17 at 16.09.12.png

 

However I don't have this column in my table being used for the visual (for performance purposes):

Screenshot 2021-10-17 at 16.10.11.png

 

Is there anyway I can get the blocked items highlighted in the table being used for the visual?

I have added the file here for those who could help 🙂

5 REPLIES 5
FlowViz
Helper III
Helper III

Sorry no still not got the answer 😞

v-shex-msft
Community Support
Community Support

Hi @FlowViz,

Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or accept the helpful suggestions to help others who faced similar requirements.

If these also don't help, please share more detailed information to help us clarify your scenario to test.

How to Get Your Question Answered Quickly 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
FlowViz
Helper III
Helper III

Thanks - what should 'value' be in (Table2[value]) ?

Hi @FlowViz,

According to your description, I think you can remove the legend fields and set data color with conditional formatting to achieve your requirement.

Expression-based formatting - Release Notes | Microsoft Docs
Regads,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
amitchandak
Super User
Super User

@FlowViz , Try a measure like

 

measure =
var _tab = summarize(filter(Table1, Table1[blocked2] ="Y"),[workitemdid2])
return
calculate(count(Table2[value]), filter(Table2, Table2[workitemdid] in_tab))

 

 

or try to use

https://docs.microsoft.com/en-us/dax/treatas-function

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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