cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sonal2901
Frequent Visitor

YTD measures data discrepancy between power bi desktop and power bi service

Hi,

 

I have created a report which shows current month and YTD data.  When I publish the same report, the YTD numbers are changed.

I have read somewhere desktop and service handles date differently but when I edit the report on service and drag and drop the date in a new page to see what's the format, it is same as power bi desktop.

 

Update: I digged more and find out that only value for January for every year is getting doubled in Power BI service. Rest values are same. I don't know what's causing this.

 

Anyone had this issue while publishing?

1 ACCEPTED SOLUTION
otravers
Resident Rockstar
Resident Rockstar

Please double-check that you're not doing >= RangeStart and <= RangeEnd. One of these conditions needs to be strict 

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
More tips and guidance in my Power BI architecture and development blog

View solution in original post

9 REPLIES 9
otravers
Resident Rockstar
Resident Rockstar

Please double-check that you're not doing >= RangeStart and <= RangeEnd. One of these conditions needs to be strict 

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
More tips and guidance in my Power BI architecture and development blog

Thank you @otravers . I changed my condition to >=RangeStart and < RangeEnd. It worked. 🙂

I tried doing >RangeStart and ≤RangeEnd. But now its giving mecorrect value for first three months and  different numbers for few other months. My date dimension is in dual mode and rest all tables in import mode  as I wanted to use hybrid table solution.
Could it be the reason? 

otravers
Resident Rockstar
Resident Rockstar

Is incremental refresh used on this dataset?

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
More tips and guidance in my Power BI architecture and development blog

Yes, I have set up an incremental refresh.

otravers
Resident Rockstar
Resident Rockstar

Do you have a date dimension or is this from a fact table?

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
More tips and guidance in my Power BI architecture and development blog

I have a date dimension.

otravers
Resident Rockstar
Resident Rockstar

Can you doublecheck that you don't have a different filter context applied in the service, using the filter icon at the corner of your visual?

otravers_0-1656423189810.png

 

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
More tips and guidance in my Power BI architecture and development blog

Hi @otravers ,

I checked it again, the filters are same.

Helpful resources

Announcements
August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 24 without aka link and time 768x460.jpg

Ted's Dev Camp - July 28, 2022

Watch Session 24 of Ted's Dev Camp along with past sessions!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors