Forum Discussion
RichardP
8 years agoHelper I
Grouping values from measures
Hi, I have a table that looks something like this: AccountID UserID Visits Help requests abc 111 5 0 abc 456 0 1 abc 789 15 2 def 555 2 2 def 666 0 1 ...
- 8 years ago
You should be able to do it like this:
Table = SUMMARIZE('TABLE','TABLE'[Column],"MyMeasure",[Measure])
Greg_Deckler
8 years agoCommunity Champion
Well, there you are going to run into a problem. Tables are not dynamic based upon user input, they get calculated at the time of query refresh. I will provide the how, if it was not a table, but a measure below but perhaps we need to backup and truly understand your data and what you are trying to accomplish.
Measure =
VAR __SelectedValue = MAX('SlicerTable'[SlicerColumn]
VAR __tmpTable =
FILTER(SUMMARIZE('TABLE','TABLE'[Column],"MyMeasure",[Measure]),[MyMeasure]=__SelectedValue)
...<something>
RETURN
<something>So basically, you are grabbing the selected value from the slicer and using it in your filter clause. But, you have to do some additional calculations/manipulation to return a single value from a measure.
prill2ta
7 years agoAdvocate II
Hey Greg!
I am having this exact same issue.. Would you be willing to assist me with this?
Thank you!