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
FrankieMcQ
Frequent Visitor

Linking a measure to an icon table

Hi 

 

I'm implementing an Earned Value Dashboard and I am calculating:

 

Cost Performance Index (CPI) = Earned Value / Actual Cost

Schedule Performance Index (SPI) = Earned Value / Planned Value

 

I calculate all the values as measures and Earned Value is used twice. These values are generated across two tables - CPI in cost table, SPI in schedule table with a Job ID linking the two.

 

I then calculate two columns based on

CPI Index = if(CPI < 1, true, false) and

SPI Index if(SPI < 1, true, false)

 

I can then link these to an icon table where my icons are stored.

 

However, I get a circular dependency error as expected because EV is used twice.

 

I tried to calculate CPI Index and SPI Index as measures, I then can't link the measure to the index on the icon table

 

Is there a good way to do this? 

 

Many thanks!

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@FrankieMcQ,

 

You may use LOOKUPVALUE to add a measure.

Measure 2 =
LOOKUPVALUE ( icon[icon], icon[index], [Measure] )
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@FrankieMcQ,

 

You may use LOOKUPVALUE to add a measure.

Measure 2 =
LOOKUPVALUE ( icon[icon], icon[index], [Measure] )
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.