Answered by:
dynamic table using column name as a slicer selection

Question
-
I am wondering if it is possible to do so, is it possible to create dynamic table using column name as a slicer ?
Thanks in advance!Monday, August 6, 2018 9:29 PM
Answers
-
Hi Bob_Tang,
Thanks for your question.
>>>I am wondering if it is possible to do so, is it possible to create dynamic table using column name as a slicer ?
I agree with Darren, the answer is no. But there is a workaround to achieve this, please refer to below similar thread:
dynamic column based on slicer selectionBest Regards
Willson Yuan
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com- Marked as answer by Bob_Tang Tuesday, August 7, 2018 10:02 PM
Tuesday, August 7, 2018 12:56 AM -
No it's not. Your question kind of implies that you are probably dealing with a pivoted data set. Maybe something with a column for each month of data and you want to slice by month. If this is the case the answer is to unpivot your data.
So instead of a table like this:
Product Jan Feb Mar
A 10 11 12You end up with one like this:
Product Month Amount
A Jan 10
A Feb 11
A Mar 12Then you simply create a slicer on the month column. Power Query has a specific unpivot transformation that will do this.
http://darren.gosbell.com - please mark correct answers
- Proposed as answer by willson yuanMicrosoft contingent staff Tuesday, August 7, 2018 12:56 AM
- Marked as answer by Bob_Tang Tuesday, August 7, 2018 10:02 PM
Monday, August 6, 2018 10:22 PM
All replies
-
No it's not. Your question kind of implies that you are probably dealing with a pivoted data set. Maybe something with a column for each month of data and you want to slice by month. If this is the case the answer is to unpivot your data.
So instead of a table like this:
Product Jan Feb Mar
A 10 11 12You end up with one like this:
Product Month Amount
A Jan 10
A Feb 11
A Mar 12Then you simply create a slicer on the month column. Power Query has a specific unpivot transformation that will do this.
http://darren.gosbell.com - please mark correct answers
- Proposed as answer by willson yuanMicrosoft contingent staff Tuesday, August 7, 2018 12:56 AM
- Marked as answer by Bob_Tang Tuesday, August 7, 2018 10:02 PM
Monday, August 6, 2018 10:22 PM -
Hi Bob_Tang,
Thanks for your question.
>>>I am wondering if it is possible to do so, is it possible to create dynamic table using column name as a slicer ?
I agree with Darren, the answer is no. But there is a workaround to achieve this, please refer to below similar thread:
dynamic column based on slicer selectionBest Regards
Willson Yuan
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com- Marked as answer by Bob_Tang Tuesday, August 7, 2018 10:02 PM
Tuesday, August 7, 2018 12:56 AM -
Hi wilson,
Thanks very much, this is exactly what I want.
Tuesday, August 7, 2018 10:02 PM