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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Power BI Comparing 2 measures lead to infinit runtime

Hi I really need help in a thing I am trying to solve for a long time.

 

I have 2 measures

Mf_Measure = CALCULATE(firstnonblank(MYDATA[MF];0);all(MYDATA[MF]))
 
MRR_OsszevetesHezMRRAkivalasztottDatumban_Egyediazonosito_Weeknumberbol = CALCULATE(MAX(MYDATA_weekly[MF]); FILTER(ALL(MYDATA_weekly[Egyediazonosito_Weeknumberbol]); MYDATA_weekly[Egyediazonosito_Weeknumberbol]=SELECTEDVALUE(WEEKLY_Datumtabla2[Egyediazonosito_Weeknumberbol]; 201934)))
 
 
They give ok values in a table visual.
 
When I try to compare them with a 3rd measure
OsszehasProba = if([Mf_Measure] = [MRR_OsszevetesHezMRRAkivalasztottDatumban_Egyediazonosito_Weeknumberbol];1;0)
 
And I add this 3rd measure to the table visual the runtime is infinite and I don't get the result if my measures have the same value in a row or not in the table visual.
 
Can anyone help please? 😄
thanks in advance 😛
1 REPLY 1
AlB
Super User
Super User

Hi @Anonymous 

Can you share the pbix (or a simplified version thereof that reproduces the problem)? Otherwise it's tough to guess what might be going on

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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