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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Ali_Chibani
Frequent Visitor

Calculate an indexed measure

Hello everyone,

 

I am trying to create a new measure in which I index monthly sales to the very first month (i.e., January 2023). My goal is to compare monthly sales to January 2023.

 

As you can see in the image below, this can be easily done in excel by dividing each cell by an absolute-referenced cell (i.e., D2 in this case since it represents January's sales), then multiplying it by 100. The green-highleted column is what I am trying to compute in Power BI.

 

 

Ali_Chibani_0-1715979310759.png

 

Since I work with confidential data, I included tha table above for illustration purposes.

 

Finally, I am relatively new to Power BI, so I would appreciate it if you would kindly share with me the formulas I need.

 

Thank you in adavance for your support on this.

 

Sincerely,

Ali  

 

1 ACCEPTED SOLUTION

You are welcome.  PBI file attached.  Next time, paste the data (rather than sharing a picture).

Hope this helps.

Ashish_Mathur_0-1716074334859.png

 


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

View solution in original post

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

PBI file attached.

Hope this helps.

Ashish_Mathur_0-1716000634205.png

 


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

Hey @Ashish_Mathur,

 

Thank you very much for responding to my question.

 

Out of curiostiy, how should I alter the functions if I want to extend the date column to include sales in 2024? I added a row in the PBI you shared to include January 2024, and the index value for this particular month was reset to 100 (as shown in the image below). My goal is to have all months, even from a different year, indexed to January 2023.

 

Thank you very much for your support on this.

 

Sincerely,

Ali 

 

Ali_Chibani_0-1716060274307.png

 

You are welcome.  PBI file attached.  Next time, paste the data (rather than sharing a picture).

Hope this helps.

Ashish_Mathur_0-1716074334859.png

 


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

Hey @Ashish_Mathur,

 

I very much appreciate it.

 

Sincerely,

Ali 

You are welcome.


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

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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