cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted

Percentage comparing 2018 to2019

Hi Al,

 

I'm trying to get the percentage rise from 2018 to 2019 for multiple months

 

Capture.PNG

Every example I'm seeing online is using this with a currency or numeric value. 

 

I'm only using the amount of records within a colum as my value

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Percentage comparing 2018 to2019

Hi @michaelknight94 ,

 

One sample for your rerefence. If it doesn't meet your requirement, kindly share your sample data and excepted result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.

Measure = 
VAR y18 =
    CALCULATE ( SUM ( Table1[value] ), FILTER ( Table1, Table1[Year] = 2018 ) )
VAR y19 =
    CALCULATE ( SUM ( Table1[value] ), FILTER ( Table1, Table1[Year] = 2019 ) )
RETURN
    DIVIDE ( y19 - y18, y18 )

Capture.PNG

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Percentage comparing 2018 to2019

Hi @michaelknight94 ,

 

One sample for your rerefence. If it doesn't meet your requirement, kindly share your sample data and excepted result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.

Measure = 
VAR y18 =
    CALCULATE ( SUM ( Table1[value] ), FILTER ( Table1, Table1[Year] = 2018 ) )
VAR y19 =
    CALCULATE ( SUM ( Table1[value] ), FILTER ( Table1, Table1[Year] = 2019 ) )
RETURN
    DIVIDE ( y19 - y18, y18 )

Capture.PNG

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Super User
Super User

Re: Percentage comparing 2018 to2019

Hi,

Share the link from where i can download your PBI file.


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

Helpful resources

Announcements
October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 353 members 2,991 guests
Please welcome our newest community members: