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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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

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

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

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   Now its working  . thank you so much

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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