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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors