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! Request now

Reply
andy0012
New Member

Measure working in Desktop but not after publishing to Service

Hi all,

 

Need your help in solving why the added measure is working in PowerBI Desktop just fine, but after publishing the report to PowerBI Service, the same measure does not work anymore.

 

Here's an example of data from the report.

 

DateDate created Print#PASS_FAIL
Wednesday, 22 July 202022/07/2020 14.34.48202030030
Tuesday, 21 July 202021/07/2020 14.55.10202020080
Wednesday, 22 July 202022/07/2020 14.55.20202030100
Wednesday, 22 July 202022/07/2020 14.38.22202030040
Wednesday, 22 July 202022/07/2020 14.56.54202030110
Wednesday, 22 July 202022/07/2020 14.53.44202030090
Wednesday, 22 July 202022/07/2020 14.50.49202030080
Wednesday, 22 July 202022/07/2020 14.47.33202030070
Wednesday, 22 July 202022/07/2020 14.44.48202030060
Wednesday, 22 July 202022/07/2020 14.42.03202030050
Wednesday, 22 July 202022/07/2020 14.10.54202030020
Wednesday, 22 July 202022/07/2020 11.20.46202030010
Tuesday, 21 July 202021/07/2020 14.53.32202020071
Tuesday, 21 July 202021/07/2020 14.51.22202020061
Tuesday, 21 July 202021/07/2020 14.49.45202020051
Tuesday, 21 July 202021/07/2020 14.38.50202020040
Tuesday, 21 July 202021/07/2020 14.20.10202020031
Tuesday, 21 July 202021/07/2020 13.50.47202020021
Tuesday, 21 July 202021/07/2020 12.50.47202020011
Tuesday, 21 July 202021/07/2020 9.02.20202010081
Tuesday, 21 July 202021/07/2020 9.00.52202010071
Tuesday, 21 July 202021/07/2020 8.58.32202010060
Tuesday, 21 July 202021/07/2020 8.53.53202010051

 

 

passed = SUM(AOISummaryData[PASS_FAIL])

 

total tested = CALCULATE(DISTINCTCOUNT(AOISummaryData[PlcTrackingID]),AOISummaryData[Print#]<>BLANK())

 

test yield = IF(DIVIDE(AOISummaryData[passed],AOISummaryData[AOI total tested])=0,0,DIVIDE(AOISummaryData[passed],AOISummaryData[AOI total tested]))

 

And the measure that is not working is the "passed". As you can see the images from the Desktop and Service screenshots.

 

Desktop viewDesktop view

Service viewService view

 

 

 

 

 

 

 

 

 

I have tried many things already, like removing the dataset from the service, creating the measures again etc. but so far I have not been able to solve this issue.

 

Thanks in advance!

 

BR,

Andy

7 REPLIES 7
KatharineC
Advocate I
Advocate I

@andy0012 I know it's been 5 years, but did you ever resolve this issue? I have the same issue, slightly different perhaps in that the measure works in my environment on the service, but not in the client environment (shows 0 or blank).

I finally resolved this issue. I'm using DirectQuery and using 3 gauges to display meets/does not meet target. The third gauge was always showing blank. 

This was due to a timing issue: the solution was to modify the measure to include all the DAX inside the measure, instead of referring to other measures.

Greg_Deckler
Community Champion
Community Champion

@andy0012 - There may be some saved filter in the Service, you can reset the report in the Service to default (clear personal filters/bookmarks)

 

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi Greg_Deckler,

 

Unfortunately this was not a solution to this issue, did remove any filters in the Service and still the calculated measures won't give correct readings in the Service.

 

-Andy

FarhanAhmed
Community Champion
Community Champion

Try Remove "Dataset" in Power BI Service if possible and publish report again.

 

Also make sure that both reports have same filters applied on it.







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




Hi FarhanAhmed,

 

Thanks for the tip, but these activies I did try already and they did not solve the issue.

 

-Andy

AntrikshSharma
Super User
Super User

Did you unselect anything from the slicers? because all three measure are showing a different value and 423 / 421 is 100.5% which is correct.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors