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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.