Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi, Iam new to Power BI DAX and have few issues which might be easy..Not sure to use measure or column please help
I have a dataset which has Month Column (ColumnA) and some values in different column (ColumnB)
1) I want to sum values in ColumnB related only to particular month and count no of rows in ColumnA and divide ColumnB sum by ColumnA rowcount.
Something like this should work:
Measure = VAR __sum = SUM([Column1]) VAR __count = COUNTX('Table2',[Month]) RETURN DIVIDE(__sum,__count,0)
See Page 4, Table2 of attached.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
83 | |
76 | |
65 |
User | Count |
---|---|
120 | |
111 | |
94 | |
83 | |
77 |