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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Not Confirmed change to Pending for particular Rule value

Hi all,

 

i am trying to change Not confirmed to pending particular valuie.  i have created  two calcualted  column value in the table 

 

Risk Delivers column  Measure:

 

Risk Deliveries = IF(OR('Risk Deliveries'[Rule Type] = "Lack",'Risk Deliveries'[Rule Type] = "Urgent"),"Risk Delivery",IF(OR('Risk Deliveries'[Rule Type] = "Standard Overdue",'Risk Deliveries'[Rule Type] = "Old Overdue"),"Risk Delivery",IF('Risk Deliveries'[Rule Type] = "Urgent Overdue","Risk Delivery",IF('Risk Deliveries'[Rule Type] = "Urgent","Risk Delivery", IF('Risk Deliveries'[Rule Type] = "Purchase Requisition OVR","Risk Delivery",""))))

 

 

Confirmation Column  measure : 

Confirmation =
var confiremed = LOOKUPVALUE('Confirmed table'[Confirmed],'Confirmed table'[PO & Material],'Risk Deliveries'[combi confirmation])
var not_confirmed = LOOKUPVALUE('Not Confirmed table'[Confirmed],'Not Confirmed table'[PO & Material],'Risk Deliveries'[combi confirmation])
return if(confiremed = "",not_confirmed,confiremed)

 

Risk Delivers            Rule Type                                       Confirmation

 

Risk Deliveries          Lack                                                Not confiremed 

Risk Deliveries          Lack                                               confiremed 

Risk Deliveries          Urgent                                            Not confiremed 

Risk Deliveries          Urgent                                           Not confiremed 

Risk Deliveries         Purchase Requisition OVR              Not confiremed 

Risk Deliveries         Purchase Requisition OVR              Not confiremed 

 

Now  i want change   Rule Type "Purchase Requisition OVR "   confirmation value  " Not confiremed " to pending . i am tried with measure below measure

 

Confirmation =
var confiremed = LOOKUPVALUE('Confirmed table'[Confirmed],'Confirmed table'[PO & Material],'Risk Deliveries'[combi confirmation])
var not_confirmed = LOOKUPVALUE('Not Confirmed table'[Confirmed],'Not Confirmed table'[PO & Material],'Risk Deliveries'[combi confirmation])
//return if(confiremed = "",not_confirmed,confiremed)

return Switch(true(),

isblank(confiremed ) , "Not Confiremed",'Risk Deliveries'[Rule Type]="Purchase Requisition OVR","Pending",

confiremed = "" ,not_confirmed,confiremed)

 

i am not getting the value .

 

Looking for support . thanks in advance .

 

 

 

 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Based on what I got.

A new column

Switch( True() ,

[Rule Type]= "Purchase Requisition OVR "  && [confirmation value] =  " Not confirmed ",  "pending",

[Confirmation]

)

 

Add other rules as per need

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Based on what I got.

A new column

Switch( True() ,

[Rule Type]= "Purchase Requisition OVR "  && [confirmation value] =  " Not confirmed ",  "pending",

[Confirmation]

)

 

Add other rules as per need

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak   Now its working  . thank you so much

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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