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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
abhiram342
Employee
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
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hi @v-shex-msft - 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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.