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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

How to create a table/Matrix just with measures?

Hi Guys,

I’m stuck and hoping that someone can help me 😊

I want to create a Table or Matrix, that contains measures.  Like this:

 

Diff LY

Sales

Measure_Sales

Measure_Sales_LY_Diff_%

Stock

Measure_Stock

Measure_Stock_LY_Diff_%


To create these measures, I did it like this:

First column:
Measure_Sales= sum(Table_Sales[Total])

Measure_Stock=Sum(Table_Sales[Stock])

 

Second column:

Measure_Sales_LY= CALCULATE ([Measures_Sales], SAMEPERIODLASTYEAR (Calendar[DATE])

Measure_Sales_LY_Diff= IF ( ISBLANK ( [Measure_Sales_LY ), BLANK (), ( [Measure_Sales] - [Measure_Sales_LY] ) )

Measure_Sales_LY_Diff_%= Measure_Sales_LY_Diff/Measure_Sales_LY

 

Measure_Stock_LY= CALCULATE ([Measures_Stock], SAMEPERIODLASTYEAR (Calendar[DATE])

Measure_Stock_LY_Diff = IF ( ISBLANK ( [Measure_Stock_LY ), BLANK (), ( [Measure_Stock] - [Measure_Stock_LY] ) )

Measure_Stock_LY_Diff_%= Measure_Stock_LY_Diff/Measure_Stock_LY

 

How can I create something like this?

I’ve tried creating a DAX table adding my measures, but then the information is static, it must be dynamic, changed by period of time selected.

 

Thanks!

4 REPLIES 4
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

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 for Business and share the link here.

 

 

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

Hi 

 

 

Greg_Deckler
Community Champion
Community Champion

Use a Table or Matrix visualization?


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hi! 

 

It doesn't matter if it's a table or matrix visualization. In fact, I just need a visualization like these: 

 

 Diff LY
SalesMeasure_SalesMeasure_Sales_LY_Diff_%
StockMeasure_StockMeasure_Stock_LY_Diff_%

 

But... I'm still stuck and I don't know how do it..

 

Thanks in advanced, 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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