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
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
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.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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