Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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 )
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 )
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
14 | |
11 | |
10 | |
9 |