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
Casiqueno
Frequent Visitor

Interanual comparison table

Good afternoon experts.

I am searching for a way to somehow reproduce a table I currently maintain in Excel:

Interanual comparison table.JPG

This table displays the interanual variation of a parameter (concretely waste generation).

 

I already have a measure for calculating the YTD:

Capture 0.JPG

Of course I could create a measure for each cell of the table (e.g.:

Interannual_2018_2019 = ([YTD_Total_2019]-[YTD_Total_2018])/[YTD_Total_2018]).
Capture 1.JPGCapture 2.JPG
But I guess there should be a more effective way to achieve the result...
 
 
Thank you very much for your help!

 

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

@Casiqueno ,

 

I haven't found measures like [YTD_Total_2019] and [YTD_Total_2018] in your report. In addtion, the format of matrix in the excel seems to be different from that in your power bi sample report. Could you please clarify more details?

 

Regards,

Jimmy Tao

@v-yuta-msft 

Thank you for addressing my post. Before uploading the pbix I cleaned it a little bit and I removed measures by error. I have uploaded a new version (the googlew drive link remains the same).

I have also updated my original post.

Concerning the difference of format between pbix and excel this is not a big issue for me indeed, my main concern is to be able to provide figures in Power BI to reflect the variation between the different years.

 

Thank you again!

Kind regards.

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.