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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
aalamillo
New Member

How to "As of" Normalized Date for Data Calculations

Hey everyone, 

 

So I'm relatively new to Power BI, and I'm trying to figure out how to make the date of normalization for graphics dynamic. For example, my slicer currently includes data normalized as of 1/1/2023. If I were to change the earlier date on the slicer to 1/1/2024, I'd like the data to become normalized as of 1/1/2024. Is there any way to do that? I assume so, but I'm not familiar enough with Power BI's syntax.

 

Open to any and all suggestions! Thank you in advance. 

7 REPLIES 7
pborah
Impactful Individual
Impactful Individual

@aalamillo sure. To reflect percentage change calculations based on slicer date, your calculation will also have to include that same date column you are using in the slicer. You cannot use a hard date value or a different date field.

 

This is on a simplified level. On a more complex level, you have to atleast use a related date field that has a direct relationship with the rest of your data. You cannot use an unrelated date field.

 

This is the best I can give you without fully seeing what exactly you're doing in there. 

pborah
Impactful Individual
Impactful Individual

Hi @aalamillo I'm not sure if you are using the correct terminology with "normalization". Can you please provide an example of your desired output with some screenshots or sample data/calculation?

aalamillo_0-1735321413534.png

Here is a picture of my dashboard. Currently, the normalized data is as of 1/1/2023, meaning the % change is for each day compared to the price at 1/1/2023. I'd like to make the normalization date dynamic, so that if I move the earlier slicer date to 1/1/2024, the graphics will calculate and show the % change in the data since 1/1/2024. 

Hi @aalamillo 

 

If you want to compare a specific date value dynamically with values from the other dates, you will need to use a disconnected dates table. In the screenshots below, Total Revenue Selected Date is calculated based on the max date of Disconnected Date slicer. The value of which is applied to all rows in the table. Even if the max Disconnected Date is outside the selected Related Date range, its value is still being returned.

danextian_0-1735364971711.png

danextian_1-1735365069825.png

Please see attached sample pbix.

 










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
pborah
Impactful Individual
Impactful Individual

Thanks @aalamillo by "normalize" do you mean the statistical normalization process using Z-Scores? If not, can you please explain how you are "normalizing" your data?

Hey - I guess just forget the word "normalization". Another way to put it is that I'm looking for a dynamic % change calculation based on the earlier date of the slicer. 

Hi,

Share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.