The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
hi,
need DAX help. I need to find avg values for store which has to remain same irrespective of slicer selection. 3rd column in the below table has same values. can some one pls help on writing DAX to achive this scenario?
store name values
store 1 10
store 2 20
month avg avg slicer selection
Nov-22 15 15 no store sel
Nov-22 10 15 store 1 selected
Nov-22 20 15 store 2 selected
Solved! Go to Solution.
hi @Happy2023_05 ,
If i understand well your ask, you want an average value without matter the filter, you can do that then:
CALCULATE ( AVERAGE ([Values]), ALL( Table Name where is the column of slicer selection, [slicer selection]))
Hi @Happy2023_05 , its simple and i think the below solution will help you.
1. Create a calculated measure -
Avg_revised =
CALCULATE (
AVERAGE (table1[values]),
ALL(table1)
)
Regards,
Nikhil Chenna
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
Hi @Happy2023_05 , its simple and i think the below solution will help you.
1. Create a calculated measure -
Avg_revised =
CALCULATE (
AVERAGE (table1[values]),
ALL(table1)
)
Regards,
Nikhil Chenna
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
Hi @Happy2023_05 ,
Please Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
hi @Happy2023_05 ,
If i understand well your ask, you want an average value without matter the filter, you can do that then:
CALCULATE ( AVERAGE ([Values]), ALL( Table Name where is the column of slicer selection, [slicer selection]))
User | Count |
---|---|
15 | |
13 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
19 | |
12 | |
9 | |
5 |