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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

filter DirectQuery table

Hello,
I am using a DirectQuery to pull data onto a table on the report
tblPCodes
----------
pCode perf
xyz 123
gft 67.9
twu 55.31
...

I created banding i.e. range of values to workout he count of pCodes that fall within bands... the measure which does the count of pCodes is called count
This is good so far.
The chart I have created shows the count on y axis and the band on the x axis
All good so far...

Now, I would like to be able to click on the bars in the chart and so the data inside the tblPCodes visual to filter for only those pCodes in that Band. But it does not filter the tblPCodes.
Probably it is to do with the DirectQuery....

In-case it is helpful, the measure that I am using to get the count of the pCodes in tblPCodes is:
count =
COUNTAX(
FILTER(
'Unitised Performance',
[Performance] > SELECTEDVALUE(PerformanceBands[Low]) && [Performance] <= SELECTEDVALUE(PerformanceBands[High])
),
'Unitised Performance'[Portfolio Key]
)

How can I achieve this please?
Thank you

1 REPLY 1
v-easonf-msft
Community Support
Community Support

Hi , @Anonymous 

Not very clear. Can you explain bit more?
Sample data and expected result  will make it easier for us to understand and  solve your problem.

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors