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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
nmyre
Helper III
Helper III

Dividing a column by a specific row to find the percentage.

Hello.

 

I have a table of historical data for the past couple of fiscal years. I am trying to divide one column [Obs], by the value on the last month of the year in a different column [Ann].

 

I tried the following:

 

BI Help 1.jpg

 

The Table looks like this:

 

BI Help.jpg

 

I am trying to DIVIDE the green [Obs] by the green [Ann] for each month. And Divide the red [Obs] by the red [Ann] for each month. Here, in yellow, is what I am looking for:

 

BI Help 2.jpg

 

Here it is again in order by date so you can see the percantage increase each month:

 

BI Help 3.jpg

 

Thanks.

1 ACCEPTED SOLUTION

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


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

View solution in original post

7 REPLIES 7
Ashish_Mathur
Super User
Super User

Hi,

Do you want a calculated column or a measure solution?  Share your MS Excel file with your formula so that i can translate that into the DAX language.


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

@Ashish_Mathur 

 

A measure would likely be better. It is to put into a line graph showing the % by the month. The below is not correct, the % Diff should be 0-100% and the months on the X axis will show by month, not number:

 

BI Help 4.jpg

 

Here is the sample file link:

 

https://drive.google.com/file/d/1p_Z6UziWgvyYF_iAaQziI_8Ymv2Rbo2Z/view?usp=sharing

 

Thanks

Hi,

Please clarify the following:

  1. The Fincnial Year runs from October to September; and
  2. Cell W2 in the Excel file is actually October 2019 and W13 is September 2020

Is my understanding correct? 


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

@Ashish_Mathur 

 

Correct. The Fiscal Year Starts in October and Ends in September. So Fiscal Year 2020 Started on October 1, 2019 and ended Sepember 30, 2020.

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


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

Thank you very much. This has taken me days.

You are welcome.


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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.