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
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
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.