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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors