cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors