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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
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.