cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Syndicate_Admin
Administrator
Administrator

Cannot apply operator * to types Text and Number

 

 

Hi all,

 

I try to do below formulation but still getting error.

 

nuhasan_0-1653036492803.png

 

Step I already try

 

1. if[#"SAP_MMT_LV_MKPF_EN.D/C_SHKZG"]="H" then Value.Multiply([Quantity_MENGE],-1) else [Quantity_MENGE]

2. if[#"SAP_MMT_LV_MKPF_EN.D/C_SHKZG"]="H" then [Quantity_MENGE]*(-1) else [Quantity_MENGE]

3. I change the data type for [Quantity_MENGE] from number to text

 

Regards,

Nuha

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Syndicate_Admin
Administrator
Administrator

Replace  [Quantity_MENGE] with

Number.From( [Quantity_MENGE])

View solution in original post

4 REPLIES 4
Syndicate_Admin
Administrator
Administrator

Replace  [Quantity_MENGE] with

Number.From( [Quantity_MENGE])

nuhasan_0-1653037554115.png

 

Having this error

 

PQ is super sensitive to case. You have written number.from

It has to be

Number.From

Hi @Vijay_A_Verma ,

 

Thank you so much!!!! Solved my issue

 

nuhasan_0-1653038046881.png

 

Regards,

Nuha

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Kudoed Authors
Users online (5,638)