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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

Row level value check if value null return warning if value available it will return Available

I have  single table name called Local FPV.   please find the below sample Data set 

 

 item                         BOM  BOM Level      Plant      Item(BOM)     2D-Length     2D-Width     weight[g]    Itemcode

Shipping case             70   Case - CAS      CZ71      70.W398           293                   236            324         FW001691.13

Shipping case             87   Case - CAS      DE19      70.W398           293                   236            321         FW001691.13

Square TIN BODY       70   PAK1 - PAK1    CZ71      87.1445            226                   112              30          FW001691.13

Square TIN BODY       87   PAK1 - PAK1    DE19      87.1445            226                   112                           FW001691.13

 

 

Now i am adding the   weight[g]  value based on the Itemcode like below  added table graph 

 

Itemcode                    Plant            weight 

FW001691.13             CZ71             354

FW001691.13             DE19             321

 

Next trying add new column if weight[g]  value null in Particular Itemcode  any column  . it will be warning i have added below dax code 

 

ALERT = IF(LOCALFPV(weight[g]=BLANK(),"WARNING","AVAILABLE")

 

when i add this column in to the above i am getting duplicate code 

 

Itemcode                    Plant            weight        ALERT

FW001691.13             CZ71             354         AVAILABLE 

FW001691.13             CZ71             354         WARNING

FW001691.13             DE19             321         AVAILABLE

FW001691.13             DE19             321         WARNING  

 

 

But Expect output   Correct result below 

Itemcode                    Plant            weight        ALERT

 

FW001691.13             CZ71             354         WARNING

 

FW001691.13             DE19             321         WARNING  

 

Looking for support . thanks in advance .

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Try a measure like

 

ALERT = IF(countx(filter(allselected(LOCALFPV), LOCALFPV[Itemcode] = max(LOCALFPV[Itemcode])
&& LOCALFPV[Plant] = max(LOCALFPV[Plant]) && Isblank([weight]) ), LOCALFPV[Itemcode] ) >0 ,"WARNING","AVAILABLE")

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak  sir i am tried  above measure but i am getting available only for the all the item code 

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.