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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
marcel97
Helper II
Helper II

Measure not crossfiltering other Visuals

Hello all, 

 

I have this very basic issue which is driving me crazy nonetheless... 

 

Our PMO has a report covering the work package situation in our projects. There are 189 items in this project for example (I blacked out team and delivery names):

marcel97_0-1693231307076.png

At the very bottom there is a table which can be crossfiltered to show the respective work packages/items by clicking on the Team Names or Delivery Names for example. The crossfiltering works well here as the displayed data comes directly form the tables and not from measures.

 

Now I want to implement a visual, that shows the number of items that have their analysis overdue. It is a very complex and customizable calculation, therefore I have to do it via a measure and cannot do it via a calculated column (the user can define custom deadlines to determine whether an item is overdue). Making the measure was easy by following a CALCULATE(DISTINCTCOUNT(), FILTER()) formula. I get the following result with 113 items being overdue:

marcel97_1-1693232164675.png

 

So far so good. When I now click the 3 green (D - Information) items, the table crossfilters to 5 items however. Those are all items with that severity, regardless of whether they have their analysis overdue or not...

 

marcel97_2-1693232436038.png

 

I tried implementing my measure as a filter on the visual that I used to crossfilter but it does not influence the result in any way. My desired output here would be that only the 3 overdue items are shown in the table when I crossfilter.

Any help is appreciated! Thanks in advance!

Kind regards

Marcel

 

1 REPLY 1
v-yueyunzh-msft
Community Support
Community Support

HI , @marcel97 

According to your description, you want to cross-filter the table visual by your bar chart and you use a custom measure and you want to filter the table and just show which meet the overdue data.

If you need other visual filter the table visual by default just this visual need to filter the overdue data, here are the steps you can refer to :
(1)This is my test data:

vyueyunzhmsft_0-1693367518858.png

(2)I create a measure like this to put in the bar chart:

Measure = CALCULATE( DISTINCTCOUNT('Table'[No]) , 'Table'[Date] > TODAY())
 
And i create this measure to judge if need to show in the table visual:
Over_analysis = IF( MAX('Table'[Date]) >TODAY() ,1,BLANK())
 
(3)We can  use the "Enter Data" to create a table just with one value:
vyueyunzhmsft_1-1693367595899.png

 

Then we can put this measure on the  "Y-axis" in the bar chart:

vyueyunzhmsft_2-1693367638419.png

Then we can create a measure like this:

Measure 2 = IF( ISFILTERED('Table2'[Flag]) , [Over_analysis] , 1)
 
And then we put this measure on the table visual's "Filter on this visual":
vyueyunzhmsft_3-1693367711638.png

 

(4)Then we can get the result as follows.

When we select the "OverDate" bar chart :

vyueyunzhmsft_4-1693367764250.png

When we select the other default bae chart :

vyueyunzhmsft_5-1693367790209.png

 

 

 

 

If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors