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
StuartSmith
Power Participant
Power Participant

Convert 2 Measures to Calculated Columns (Sample PBIX File attached)

I have, in the example, 2 tables joined together by "Absence ID" and then have 2 working measures that 1) count the number of days during a period that are backfilled by someone and 2) count the number of unique backfill staff are used during a period.  

 

StuartSmith_0-1691759682196.png

I would like to convert the 2 measures to calculated columns on the "Absence Record" table.  Is this possible and if so, how?  If I simply change the measures to columns, the values are incorrect.

 

Convert Measure to Calculated Column .pbix 

Thanks

3 REPLIES 3
StuartSmith
Power Participant
Power Participant

Does anyone else have any input or is the solution supplied by Todd the only option (apart from the working measures I already have)? Thanks

StuartSmith
Power Participant
Power Participant

Thanks, I was after a more tidy soulution without having to create a new table.   I have measures that do what I need, but was hoping for calculated columns that I could add to the exisitng table.

ToddChitt
Super User
Super User

You could create a DAX table using the SUMMARIZE function:

My Table = SUMMARIZE('Absence Master', 'Absence Master'[Absence ID], "Min Date", MIN(Date0, "Max Date", MAX(Date)...

 

This creates a table with the aggregations as columns.

SUMMARIZE function (DAX) - DAX | Microsoft Learn




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors