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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
phaum1967
Resolver I
Resolver I

Calculation error in measure

Impossible de charger les données de cet élément visuel MdxScript(Model) (10, 79) Calculation error in measure 'public invoices'[QtyKg]: Cannot convert value '<pii>2.73</pii>' of type Text to type Number. Réessayez plus tard ou contactez le support. 

 

It works well in PB desktop, but I have an issue in powerbi services (cant see this graph due to error .

pbi3.PNGpbi4.PNG

 

this is a sample of tables used and QtyKg formula:

QtyKg = sumx('public invoices','public invoices'[Qty]*'public invoices'[QtyParam])
and 
QtyParam = RELATED(ParamItems[Qty])
 
So  I use 2 tables. First one is invoices :
Fisrt one is like this PBI1.PNG
 and second one is ParamItems:
pbi2.PNG
 Both are linekd with id field (unique value in ParamItems to many in invoices) 
 
1 ACCEPTED SOLUTION

Error was international .

Just go and modifiy in options local settings.

View solution in original post

2 REPLIES 2
phaum1967
Resolver I
Resolver I

sue could be linked to internatioanl number settings ? As I m in french on my local PB desktop and PB Desktop services is canadian ?

So not able to understand . versus , ?

Error was international .

Just go and modifiy in options local settings.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.