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

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.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

View solution in original post

9 REPLIES 9
otravers
Community Champion
Community Champion

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.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

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

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.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

Yes, I have set up an incremental refresh.

otravers
Community Champion
Community Champion

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.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

I have a date dimension.

otravers
Community Champion
Community Champion

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.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

Hi @otravers ,

I checked it again, the filters are same.

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.

Top Solution Authors
Top Kudoed Authors