Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello Team,
I want to calculate a SUM(Total clicks) such that it can change as and when my date slider changes.
And then, calculate " %linkclicks/Sum(total clicks)" such that this measure changes with the change in my date slider.
So, essentially I need the Clicks% column but I need both the Numerator and Denominator to change with change in dates (slider slicer)
Many Thanks!
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
ALLSELECTED function (DAX) - DAX | Microsoft Learn
Clicks measure: =
SUM( Data[Clicks] )
Clicks % measure: =
VAR _total =
CALCULATE ( SUM ( Data[Clicks] ), ALLSELECTED ( 'Calendar'[Date] ) )
RETURN
DIVIDE ( SUM ( Data[Clicks] ), _total )
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
Please check the below picture and the attached pbix file.
ALLSELECTED function (DAX) - DAX | Microsoft Learn
Clicks measure: =
SUM( Data[Clicks] )
Clicks % measure: =
VAR _total =
CALCULATE ( SUM ( Data[Clicks] ), ALLSELECTED ( 'Calendar'[Date] ) )
RETURN
DIVIDE ( SUM ( Data[Clicks] ), _total )
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
User | Count |
---|---|
51 | |
38 | |
20 | |
14 | |
13 |
User | Count |
---|---|
98 | |
71 | |
29 | |
20 | |
13 |