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! Learn more

Reply
Anonymous
Not applicable

Cross-filtering based on two different columns

 

I have a simple report with Total results card.  The default rule for the card is sum of column Message total result - 13 in this case.

 

But from first table, when a user selects a ConsumerID eg, Global university, Total results card should display 3 (from column Message message result).

 

If user selects both Global university and City university (holding control key after selecting Global university and selcting City university), the card should display  5   ( 3 + 2).  

 

Similar performance is expected from selecting an Attoney from second table.  

 

Message total result should be displayed only when there is no cross-filtrering - no selection from either table. 

 

I need a DAX for this card. 

 

Link to PBIX:   https://drive.google.com/file/d/1n00TRLkwPz6IoBMuWYVm1-Y1X1cV0WAH/view?usp=sharing

 

 

 

Olajumi_0-1618763116116.png

 

 

1 ACCEPTED SOLUTION
selimovd
Super User
Super User

Hey @Anonymous ,

 

I'm not sure if fully understand what you want. The explanation was not very clear for me.

I understood that you want only a value in the measure "Message TOTAL RESULT" when the table is not crossfiltered and no result when it's crossfiltered. Is that right?

 

In that case you can easily check if there is a crossfilter happening with the function ISCROSSFILTERED. If that's the case, return BLANK(), otherwise return the measure.

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

View solution in original post

1 REPLY 1
selimovd
Super User
Super User

Hey @Anonymous ,

 

I'm not sure if fully understand what you want. The explanation was not very clear for me.

I understood that you want only a value in the measure "Message TOTAL RESULT" when the table is not crossfiltered and no result when it's crossfiltered. Is that right?

 

In that case you can easily check if there is a crossfilter happening with the function ISCROSSFILTERED. If that's the case, return BLANK(), otherwise return the measure.

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

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