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
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
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 Solution Authors