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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
River
Helper IV
Helper IV

Table created by SUMMARIZECOLUMNS, can I add measure to it?

Hi Friends,

 

I created a table by SUMMARIZECOLUMNS, then I need to caculate a ratio between two columns, so I want to add a measure for it. But, it keeps telling me the columns' name is not right. 

 

Can I add measure? if I can, how do I reference the column name?

 

If I can't do all above, what's other alternative? 

 

New to DAX, appreciate any hint or suggestion.

 

River

3 REPLIES 3
Fowmy
Super User
Super User

@River 

The best practice is to use ADDCOLUMNS and SUMMARIZE functions:

https://www.sqlbi.com/articles/best-practices-using-summarize-and-addcolumns/


Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Hi Fowmy,

 

Do you mean, instead of using 'SUMMARIZECOLUMNS' to create new table, just using ADDCOLUMNS and SUMMARIZE to add to existing table? 

 

Or, use it on this new table? 

@River 

Use ADDCOLUMNS and SUMMARIZE to create the new table

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

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.