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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

5 REPLIES 5
Greg_Deckler
Super User
Super User

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

 

 


@ 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!:
The Definitive Guide to Power Query (M)

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
Community Champion
Community Champion

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.