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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

HELP ME COMPARE SOME MEASURES AND COLUMNS

Hi.

Im trying to do this:

First I create this measure with  columns of a lot of data:

MTTR febre = IFERROR((SUM(MTTR_MTBF[TP Feb]))/(SUM(MTTR_MTBF[NE Feb]));0)
Then i create the following table:
 
Where [MTTR máx (horas)] and [MTTR promedio (horas)] are just those datas
Now I want to compare the above data in a measure like this:
A33 = IF([MTTR FEBRE]>VALUE([MTTR máx (horas)]);"Insuficiente";IF([MTTR febre]<VALUE([MTTR promedio (horas)]);"Excede";IF(AND([MTTR FEB]<VALUE([MTTR máx (horas)]);[MTTR febre]>VALUE([MTTR promedio (horas)]));"Meta";"No")))
 
BUT I CAN´T DO IT!!!!!!!! Power BI dont let me do this measure, because when i am making the formula power bi only let me call the measure MTTR febre and not the columns [MTTR máx (horas)] and [MTTR promedio (horas)].
 
Do you have any suggestion? please.
 
I´m desperate
 
 
1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @Anonymous 

try to use SELECTEDVALUE([Measure]) in comparision formulas like SELECTEDVALUE([MTTR FEBRE])

 

do not hesitate to give a kudo to useful posts and mark solutions as solution


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

1 REPLY 1
az38
Community Champion
Community Champion

Hi @Anonymous 

try to use SELECTEDVALUE([Measure]) in comparision formulas like SELECTEDVALUE([MTTR FEBRE])

 

do not hesitate to give a kudo to useful posts and mark solutions as solution


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.