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
Anonymous
Not applicable

Calculate a value based on another row

Hello, 

You can find below a sample of the matrix I am currently working on. 
Sans titre.png

 

I have two KPI that are supposed to have a value and a Target. However In my table the targets are empty. 
The Target of the Quality - Corrective & Preventive Actions is supposed to be 80% of the Quality - Performance Total NCR Value. 
The Target of the Quality - Performance Total NCR Remains empty

I tried with a measure (named "a" in my example) to Calculate the value. I used the following formula : 
Calculate(0.8*SUM(Value);Filter(Table;KPIname="Quality - Performance Total NCR Value") which gives me the result 4. 

My model is : 
FactTable             KPI
KPI ID                  KPI ID
Value                   KPI Name
Target 

 

However I didn't managed to put this value in the  Corrective & preventive target. It seems logical as it's two different KPI and rows. Is there any chance we can do that in DAX ? 

Thanks

1 REPLY 1
Anonymous
Not applicable

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.

Top Solution Authors