cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Remove and add Measure in a button

Ganjos
Participant
0 Kudos
280

Hi, 

I am working on a project involving a budget plan with 4 measures (measure 1, 2, 3, and 4). After the user completes the planning, they need to compare measure 4 across a different dimension. Imagine this dimension has 3 variables, and measure 4 will appear for each of these 3 variables. I want to create a button script that hides measures 1, 2, and 3, leaving only measure 4 visible for comparison across the dimension. Then, when the user clicks the button again, measures 1, 2, and 3 should reappear.

Thanks in Advance,
GAnjos

Accepted Solutions (0)

Answers (1)

Answers (1)

SarauShen
Product and Topic Expert
Product and Topic Expert
0 Kudos
Ganjos
Participant
0 Kudos
Hi, thanks for the answer. I did the exercise and adapted it to my code, but it doesn’t seem right. The measures don’t show up. The only difference is that I have measures that I imported from an Excel file, and I don’t have an account dimension. Does that make a difference?