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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

combine measure and column into one measure

Dear Comuunity, 

I have a matrix which I want to show in each cell,combination of  below measure and a column which comes from another table from database, 
how can I do this?  cause is it not possible to combine a measure and a column from database into one measure, what should I do? 

I want each cell in matrix like below. 
for example:  37.5 , 0.5
37.5 is amount ot measureAvgY and 0.5 is comes from column.


MeasureAvgY = ROUND(
IF(
ISINSCOPE('M'[D]),
SUM('M'[Y]),
CALCULATE(
CALCULATE(AVERAGE('M'[Y]), FILTER('M', 'M'[IO] == 0)),
ALLEXCEPT('S','S'[C],'S'[S], 'S'[L])
)
), 1)
1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @Anonymous ,

 

Try this measure

Measure = [MeasureAvgY]&","&SUM('Table'[Column])
 

Best Regards,

Stephen Tao

 

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
v-stephen-msft
Community Support
Community Support

Hi @Anonymous ,

 

Try this measure

Measure = [MeasureAvgY]&","&SUM('Table'[Column])
 

Best Regards,

Stephen Tao

 

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

amitchandak
Super User
Super User

@Anonymous ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

Measure and column can combine in a measure

[measure] + sum(Table[Column]) // It can be min/max, avg/count etc

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

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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