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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors