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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Dynamic Percentage change based on date selection

Hi Everyone,

 

I have a requirement to show percentage change based on the date selection. 

For example, if i choose data from 24th Dec 2019 to 30th Dec 2019. Formula would be like below.

Formula = (Sales(24th -30th)-Sales(17th-23rd))/Sales(17th-23rd)

 

Capture.PNG

capture2.PNG

 

Thanks,

Anil

1 REPLY 1
Jayendran
Solution Sage
Solution Sage

Hi @Anonymous ,

 

Could you please refer the below link

https://medium.com/seismic-data-science/dynamic-visuals-using-date-range-slicers-in-power-bi-pt-2-458423c8b213

 

Particularly at Create DAX equations to dynamically change metrics and text based on dates ranges sliced Section

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Kudoed Authors