Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I am trying to make a calculated group that can calculate the AVG (Sales $, Transactions count, etc) for each day (Sunday, Monday, ETC.)
I created the Calculated group in Tabular Editor and this is my formula, and there is one for each day.
VAR WEEKDAYtable =
FILTER (
'date',
date[TheDayName] = "Sunday"
)
RETURN
AVERAGEX ( WEEKDAYtable, SELECTEDMEASURE )
I am running into this error. Would I need to use the calulate function somehow?
@OCBB_SFAFPandA , it should be selectedmeasure function
SELECTEDMEASURE()
Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display : https://youtu.be/qMNv67P8Go0
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
13 | |
11 | |
9 | |
6 |