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
MKPartner
Helper I
Helper I

Measure result isn't visible at all rows

Hi Team, 

 

I'm quite interesting of one thing. 

 

I have a two measures to calculate Total amount of Cost: 

 

NCR Cost Line Item = (SUM('NCR_Report'[qty])*(((SUM('PV LE'[prod_cost])+SUM('PV CU'[prod_cost]))/5.2)+SUM('PV FE'[prod_cost])))
NCR Cost = 
VAR __table = SUMMARIZE('NCR_Report',[shift],[fabric_name],[defect],[qty],"__value",[NCR Cost Line Item])
RETURN
IF(HASONEVALUE('Master Batch'[mfg_ord_no]),[NCR Cost Line Item],SUMX(__table,[__value]))

 

Data are collected from 4 queries with relation through Master Batch table (my uniqe values). 

 

Error.JPG

 

For the first view everything seems to be OK but I noticed that not all rows in my table has calculated cost as below: 

 

Error2.JPG

 

Missed data for three rows are collected from table PV FE. They are visible as there is a number in column "mfg_ord_no".

 

Any idea why it happened ? 

1 ACCEPTED SOLUTION

I investigate measure and the issue wasn't in measure itself. Measure works properly but issue was in filtering applied on graph & site level including relation with calendar. It's fixed.  

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

One of your measure steps returns BLANK().  To investigate you can use the new EVALUATEANDLOG() function.

I investigate measure and the issue wasn't in measure itself. Measure works properly but issue was in filtering applied on graph & site level including relation with calendar. It's fixed.  

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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