Forum Discussion
Average for a characteristic
- 1 year ago
Hi javif_84 ,
Could you provide sample data or a PBIX file? This will help us better understand your issue and guide you toward a solution.
Regards,
Dinesh
Hi
Thanks for the reply, true it is not clear
So see the dataset https://we.tl/t-dKuv7RRhyT
So my DAX formula is
average = VAR CurrentRating = SELECTEDVALUE(Sales[Rating])
- Anonymous1 year agoNot applicable
Hi javif_84,
Thank you for reaching out to Microsoft Fabric Community Forum.
You can calculate the average using the following approach:
AVG = AVERAGEX(FILTER(Sheet2,Sheet2[Rating]IN {"C1","C2","C3","C4"}),Sheet2[Units Sold])
- Use a slicer for the Rating column to allow users to select categories dynamically.
- Display the result in a Card visual to showcase the average Units Sold for the selected ratings.
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Regards,
Vinay Pabbu- javif_841 year agoHelper I
Hi
It does not work as you can see the average of a C3 for a field AM/ABM is different to a C3 for another AM/ABM. What I would like is the all C3 have the same average independently of the AM/ABM selected
- Anonymous1 year agoNot applicable
Hi javif_84,
Could you provide sample data or a PBIX file? This will help us better understand your issue and guide you toward a solution.
Regards,
Vinay Pabbu