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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors