Forum Discussion
KarenFingerhut
Responsive Resident
1 year agoPercentage Slicer (slider)
Hi there Community I hope someone can help me please I have a granular level dataset going down to component level. To get the percentages of total adjusted I do the below calc Firstly c...
- 1 year ago
Hi Gao
I've now resolved the issue.
I wrote some SQL to get a percentage distinct datset and created the numbers from 0.01 to 100.
I then created a % adjusted measure in my main dataset components[% Adjusted] by using these columns CALCULATE([# Total Adjusted]/[# Total Components] )
I then created a measure (see below) based on some of the responses to this thread (thank you everyone)
% Adjusted For Slider Link =VAR sliderstart = MIN(percentagelist[% Adjusted]) - this is from my SQL datasetVAR sliderend = MAX(percentagelist[% Adjusted]) - this is from my SQL datasetVAR result = components[% Adjusted] - this is from my main datasetRETURNIF( result >= sliderstart && result <= sliderend, result+0)I then added percentagelist[% Adjusted] to each of my tables as well as to the slider .Works a treat.Hope makes senseThank you everyone. Great team work 😊Kind regardsKaren
KarenFingerhut
Responsive Resident
1 year agoHI Gao thanks for getting back to me and apologies for my delayed reply. Sadly it's not working. Back to the drawing board 🙂 Kind regards Karen