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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
pauliduplooy
Regular Visitor

How to filter graph to show only X-Axis values only where Y-Axis is equal to the legend?

I have the following stacked bar chart with the shown visualization settings:
graph.PNG

settings.PNG

Is there a way to show only the X-Axis values where the legend is the same as the Y-Axis?

2 REPLIES 2
pauliduplooy
Regular Visitor

Below is the sanitized sample data. The data is in two different tables and there is a relationship between the identifier columns in the two tables.

 

Table 1:

Source 1IdentifierOVIDsOVIDs Affected
IWI6736482940000627e-47b1-42a3-80c4-540a0fd1c84e3
RDR00005a75d-a7ae-43ef-a2f5-d8dced82c4c03998
RDMTBC0006b772-07ed-4f42-a986-3d98f02d8f07102
iMeta3219000bcbbb-0ac0-490f-a16d-d4dc447024393
SLU3219000bcbbb-0ac0-490f-a16d-d4dc447024393
RDR0001073d2-e711-4ce1-8c99-7b2c46087fdc3998
CCMhdje12930010cc40-905a-49c6-9820-6401db860d9a4
IWI1hd829482s00114ad5-5182-43b1-a4f3-bc1bf4e3bb8938
iMeta339499001325a8-d5e2-4b21-8014-ce510016a6793

 

Table 2:

IdentifierCount of IdentifierSource 2
ZC0000181RDR
ZC0000184iMeta
ZC0000185SLU
Z31133491RDR
YA46101321RDR
XXX1RDM
XXX1RDM
X1232SLU
X49314261RDM
lbendlin
Super User
Super User

Please provide sanitized sample data that fully covers your issue.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors
Top Kudoed Authors