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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
salim
Regular Visitor

Divide one column by another

I have a column saying C1 = CALCULATE(SUM(column1)). It shows 50 in one.

Then I add another column C2 = CALCULATE(COUNT(column1)). It shows 2 in the same previous row.

Then I add column C3 = C1 / C2. Then I receive 50 for the same row!

AVERAGE does not work either. Any thoughts?

 

1 ACCEPTED SOLUTION
Sean
Community Champion
Community Champion

Convert these Columns into Measures... M1, M2 and M3

View solution in original post

2 REPLIES 2
Sean
Community Champion
Community Champion

Convert these Columns into Measures... M1, M2 and M3

salim
Regular Visitor

Thank you! I guess that is because the difference between measure and column are still blurry to me. 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.