Scripts icon indicating copy to clipboard operation
Scripts copied to clipboard

Convert all Implicit Measures to Explicit SUM measures

Open smitpau opened this issue 5 years ago • 1 comments

Hi,

The code here for Autogenerate SUM Measures is useful but it requires selected each relevant column in each table.

Is there a way to code it so that it filters the columns for what Power BI has deemed an implicit measure already to avoid having to select columns in the first place.

I'm not familiar with C# code but an idea is that the metadata for the column contains the Summarize by (say SUM) info already so it would use that to create the explicit measure.

Thanks,

Paul

smitpau avatar Jan 21 '21 15:01 smitpau

This post shares a methodology for converting implicit measures to explicit measures. https://www.elegantbi.com/post/reportlevelmeasures

m-kovalsky avatar Aug 10 '21 05:08 m-kovalsky