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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
acg
Resolver I
Resolver I

Custom-made table with multiple measures ?

I like to ask whether the follwing is possible to do and where I need to search for a solution:

 

I need to be able to present / list a number of items in a clean overview table, whereby consecutive years are displayed (18/19 or 19/20 etc -  changeable by filter) and the difference between the years. The description like: 'Number of Companies' are all custom made titles as requested by the stakeholder, that is they need to be custamizable. It needs titles like 2021 2020 Differnce (%). The numbers are all individual measures to attain the results.

 

acg_2-1650011183114.png

 

This can be quite easily be done in Tableau:

acg_1-1650010613772.png

How do I archieve it in Power Bi? Where do I look for a solution?

 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@acg , If the rows are also split of measure. You need to use the calculation group for this year, last year, and change %

 

 

example

 

This Year = CALCULATE(sum('Table'[Qty]),filter(ALL('Date'),'Date'[Year]=max('Date'[Year])))
Last Year = CALCULATE(sum('Table'[Qty]),filter(ALL('Date'),'Date'[Year]=max('Date'[Year])-1))

diff = [This Year]-[Last Year ]
diff % = divide([This Year]-[Last Year ],[Last Year ])

 

Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display : https://youtu.be/qMNv67P8Go0

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

Hi @acg 
Most probably is doable but you need provide more details about your data, tables, relationships and sample explanation of each measure. Screenshots and sample data would be extremely helpful.

amitchandak
Super User
Super User

@acg , If the rows are also split of measure. You need to use the calculation group for this year, last year, and change %

 

 

example

 

This Year = CALCULATE(sum('Table'[Qty]),filter(ALL('Date'),'Date'[Year]=max('Date'[Year])))
Last Year = CALCULATE(sum('Table'[Qty]),filter(ALL('Date'),'Date'[Year]=max('Date'[Year])-1))

diff = [This Year]-[Last Year ]
diff % = divide([This Year]-[Last Year ],[Last Year ])

 

Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display : https://youtu.be/qMNv67P8Go0

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.