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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
mpros
Helper I
Helper I

Measure not working in Service, working on Desktop - No errors

Dears,
how it's possibile that in desktop version the measure works fine, while in service (web app) does not?

 

Stdev(x) stoc = CALCULATE([Stdev], filter(ALLSELECTED(Accoda1[WeekNumSource]),Accoda1[WeekNumSource]<=max(Accoda1[WeekNumSource])),ALLSELECTED(Accoda1))

 



mpros_2-1730810949023.png

 



mpros_1-1730810934949.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @mpros ,

I really can't reproduce your problem.
Can you try to delete and republish to Service, or publish to another workspace and then open it to see if the same problem exists?

Best Regards,
Dino Tao

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Hi @mpros ,

Could you please check in Service what is the data type of the WeekNumSource column?

vjunyantmsft_0-1730860474671.png

In Power BI, in case of columns of numeric type, all the numbers in the matrix are rendered right-aligned. But in this screenshot of yours, here it is presented in a left-aligned manner, indicating that the column seems to be of text type.

Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Dear  v-junyant-msft,

 

If I explore the entire dataset it interprets it as "Integer (?)", proposed summary is sum as you can see in the dataset, (although left-aligned) calculation executed.

 

mpros_0-1730903429773.png


If I explore the single object  (inspecting the object, data explore) the result is that in interprest it as (Text?) as you suggested,  (even though proposed summary is still a sum) no calculation executed. 

mpros_2-1730904339519.png

 


Anyways I don't explain why it shouldnt:
-Calculate a value if it interprets it as text

- How to solve the problem?

Thanks and regards,
Marco

 

 

Anonymous
Not applicable

Hi @mpros ,

I really can't reproduce your problem.
Can you try to delete and republish to Service, or publish to another workspace and then open it to see if the same problem exists?

Best Regards,
Dino Tao

Hi  v-junyant-msft,
republished with another name in same workspace and now for some reason it works 😀

 

mpros_0-1730966228718.png

Thanks and Best Regards,
Marco

AnalyticPulse
Super User
Super User

hi @mpros 

which connection type you are using in development environment and on service?
if you're using import in desktop app and then you upload it to service, there is chance that data is different for this chart in your service and oon your desktop app,
i suggest you check your data in service.

Powerbi Blog:
https://analyticpulse.blogspot.com/

Youtube:
https://www.youtube.com/@AnalyticPulse

Hi @AnalyticPulse

The semantic model is in import mode; if I explore the data inside PBI Service I get the measure to work correctly:

 

mpros_2-1730814807538.png

 

 

 

Desktop version:

mpros_1-1730814786803.png

 

It appears to me more like a bug/glitch.

Regards

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors