Forum Discussion
Ben_Kronk
6 years agoFrequent Visitor
Create a filtered average column by combining two measures
I am new to Power BI and I want to create a new column that an average of the total of two other columns. I can create the total using a measure: TOTAL 1 = DISTINCTCOUNT(Database[Column 1]) ...
Greg_Deckler
Community Champion
6 years agoYou will need a measure then, like this:
Measure = DIVIDE(SUM(Database[Column 2]), DISTINCTCOUNT(Database[Column 1]),0)
Measure = DIVIDE(SUM(Database[Column 2]), DISTINCTCOUNT(Database[Column 1]),0)