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.
I have a bunch of monthly reports example current Employee count or current stock.
when I showed them in a chart at monthly level ( no issue)
at year level (it should show the value for December, PBI "SUM" the values which is wrong,)
I tried
count for December =
CALCULATE(
SUM('data'[count]),
'data'[Date].[Month] IN { "December" },
ALL('data'[Date].[MonthNo])
)
at year level ( worked fine )
at month level (it should show the value for December for all months)
help 😅
@omar8000 , it better to have month column for this
like
count for December =
CALCULATE(
SUM('data'[count]),
'data'[Month] = "December"
)
or
count for December =
CALCULATE(
SUM('data'[count]),
'data'[Date].[Month] = "December" ,
ALL('data'[Date])
)
User | Count |
---|---|
25 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
12 | |
10 | |
10 | |
9 |