The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.