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
techachuu
New Member

Measure issue, I get an infinite loading, is it normal ?

Hello, I've made this Measure :

Piquetage contrôle à faire Mesure = 
Calculate(
DISTINCTCOUNT('Dossiers D2'[Id. GestOT dossier D2]),  Filter('Dossiers D2', 'Dossiers D2'[Date contrôle piquetage].[Date] = Blank()), Filter('Dossiers D2', 'Dossiers D2'[Ch. aff. contrôle piquetage] = SelectedValue('Agents étude'[Chargé d'études])))

 

But when I add it to a table visual, I get an infinite loading, is it normal ? (database is readonly so i can only add measures and calculated columns) Thanks in advance.

1 ACCEPTED SOLUTION
ray_ux
Memorable Member
Memorable Member

@techachuu 

Remove the two filters. 

 

Try something like this



Piquetage contrôle à faire Mesure = 
Calculate(DistinctCount('Dossiers D2'[Id. GestOT dossier D2]), And('Dossiers D2'[Date contrôle piquetage] = Blank(), 'Dossiers D2'[Ch. aff. contrôle piquetage] = SelectedValue('Agents étude'[Chargé d'études])))

You've nested two filters.

 

 

View solution in original post

1 REPLY 1
ray_ux
Memorable Member
Memorable Member

@techachuu 

Remove the two filters. 

 

Try something like this



Piquetage contrôle à faire Mesure = 
Calculate(DistinctCount('Dossiers D2'[Id. GestOT dossier D2]), And('Dossiers D2'[Date contrôle piquetage] = Blank(), 'Dossiers D2'[Ch. aff. contrôle piquetage] = SelectedValue('Agents étude'[Chargé d'études])))

You've nested two filters.

 

 

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.