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, I am trying to calculate last year revenue across product categories - the below DAX works for getting aggregated revenue for the previous year based on fiscal week, but just returns an aggregated total and does not split by category. Where am I going wrong?
Solved! Go to Solution.
Hey,
I guess that this
FILTER(ALL(Range_data)
add to the confusion, as this also removes an axisting filter from your category column.
Maybe you can give this a try:
FILTER(ALLEXCEPT('Range_data' , 'Range_data'[<category column>]) ...
Hopefully this provides you with some ideas,
Regards,
Tom
Hey,
I guess that this
FILTER(ALL(Range_data)
add to the confusion, as this also removes an axisting filter from your category column.
Maybe you can give this a try:
FILTER(ALLEXCEPT('Range_data' , 'Range_data'[<category column>]) ...
Hopefully this provides you with some ideas,
Regards,
Tom
Thanks - that worked!
User | Count |
---|---|
16 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
23 | |
13 | |
13 | |
8 | |
8 |