Forum Discussion
create a (calculated)column based on a selection with a unique value
In my dataset i made a new column (as you suggested) named test = [Selected_value], default = 0;
The result is that only the default is shown, and using the slicer value stays 0
- MNedix2 years agoSolution Sage
You misunderstood my solution. In Step 1 I said "Create a new Table" NOT a new Column. The whole example will add the value in a table visual, not in your dataset.
In other words, with my solution you create a selectable measure that you add to a visual Table or a Table matrix together with column from your dataset.
I hope it makes sense now.
- enthousiastnick2 years agoFrequent Visitor
I'm sorry I explained this not good enough. I did made a table:
Then: measure:
Selected_value = SELECTEDVALUE('24_hour_tabel'[uren], 0)Then:slicer, based on table;Then:
on the data-table where I need the column I add this column based on the measure:
I hope I explained it right?
- MNedix2 years agoSolution Sage
We are spinning in circles 🙂 Your screenshot with the table is from your Table view and my solution is applicable in the Report view (see the attached screenshots).