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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
abhiram342
Microsoft Employee
Microsoft Employee

Power BI Cross Filter Between Visuals Issue

Hi all - We have report created based on Direct Query using Azure Data Explorer as source. We have column called Duration which is computed in kusto i..e difference between StartTime - Finishtime ( Consider today's time in case of blank). I see the cross filter is not working once the minute passes ( Duration Column includes days hours minutes). Is there workaround to exclude the Duration Column in Cross Filtering.

 

Also, When cross filteting happens, Is there way to force the filter to work on key column instead of all columns i..e Included in below pictue has all the columns.

 

Cross Filter not works after minute passes:

abhiram342_0-1709175683499.png

 

Note: DateDiff function is not supported in Direct Query mode for Azure Data Explorer.

Data:

abhiram342_1-1709175713040.png

 

Model:

abhiram342_2-1709175740606.png

 

After Removing Duration Column , Cross Filter works fine

abhiram342_3-1709175852350.png

 

 

Thanks,

Abhriam

2 REPLIES 2
Anonymous
Not applicable

HI @abhiram342,

So you meant this column value will dynamic change based on two datetime fields, right?

If that is the case, I think they should not be suitable to work as relationship keys, I'd like to suggest you use other static value field to create relationships. (for example: the category field id)

Regards,

Xiaoxin Sheng

Hi @Anonymous - Thank you for the reply! I was able to find solution for above scenario. 

 

Note: Relationship is based on EventId column not on TimeStamp column

 

Thanks,

Abhiram

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.