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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Chanleakna123
Post Prodigy
Post Prodigy

Total Calculation of Table Chart is not based on Measure Condition

 

Hi All , 

Anybody can tell me how to fix Measure "Status 2 "  Calculation based on Total Days Cover ? 
Kindly note that Total Days Cover was calculated by Days Cover . I do Measure for First Status Margin based on Days Cover , Look like all the rows correct. and then i had created another measure called Plant Days Cover which the total row looks also and i create another Measure Status 2 Based on the Plant Days Cover . but the condition is not correct. the result sould be Hight not POS. 

 

1.PNG

6 REPLIES 6
v-qiuyu-msft
Community Support
Community Support

Hi @Chanleakna123,

 

Would you please share pbix file with some dummy data with us? 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

hi , @v-qiuyu-msft

 

how can i share you the file ? 

can you tell me ? 

Hi @Chanleakna123,

 

You can upload pbix file to your OneDrive and send link to me via private message if the pbix file contains sensitive data. 

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Chanleakna123,

 

I looked into the pbix file, the measure

Status 2 = IF([sales Projection]=0,"No Forecast",IF([Plant day Cover]>[High],"High",IF([Plant day Cover]<=[Avai Max] && [Plant day Cover]>[Avail Min],"Avail",IF([Plant day Cover]<=[POS Max]&&[Plant day Cover]>[POS Min],"POS",IF([Plant day Cover]<[OOS],"OOS")))))

 

On the total row, the Plant day Cover 26.58 less than High 214, so the value sholdn't be "High". 

 

What do you mean about "how to fix Measure "Status 2 "  Calculation based on Total Days Cover "? Could you clarify the desired results based on condition? 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

HI @v-qiuyu-msft

 

Total Days Cover calculated from Days Cover . Plant Days Cover calculated from Total Days Cover. then i create another measure called "Status 2 " which need to based on Total Days Cover of 26.58 of the total rows , and what i set in the column condition is if such each material in attached >7 should be "HIGH" not POS . Therefore , when i display on the dashboard with Card Visualization, it should be HIGH for the materials selction i set. 

Thanks 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors