Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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.