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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
GiulianoCi
Regular Visitor

Date switch with one period seems to not show right results

Hello, 

 

I've been trying to solve this issue, but w/o success, tehrefore I came here for help. 

 

My main issue is concerning the date differnce in past (year, month etc.) tyo ompare witrh current values. 

 

I have uploaded 2 types of files:

  • one raw data from an excel file where the data is already structured (from monthly level to daily level) "13" raw data"
  • one in which I try to take monthly figures and divide them via a working days table: "13" daily - w formula" in which I divide the Monthly volues to CUD or working days.

Now, when I try to bring the figures from 2022 to 2023, in case of raw data it works and brings all the correct figures, but in case of defined formula, e.g.: for measure 13" daily - w formula, the dateadd measure brings some different figures. altough the calculations gives the correct daily figures. 

 

I have attached a picture to show exactly how it looks (also the PBI file):

In case of W01 from 2022 w have for measure "13" -> 1373 pcs which both versions calculate corect, but the date add brings different values: 1373 for raw data and 1600 for formula data. 

GiulianoCi_2-1681376422206.png

P.S.: same behavior is also if I use SAMEPERIODLASTYEAR measure. 

 

PBI File

Test PBI 

https://file.io/kkupInOU3FJX

 

Any suggestions?

 

Many thanks! 

0 REPLIES 0

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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