Disconnected Slicers With DAX Variables And SELECTEDVALUES
Video by Reid Havens - Founder of Havens Consulting and contributing author at P3
https://www.havensconsulting.net
Today’s topic covers how to create a Disconnected Slicer using DAX Variables and SELECTEDVALUES. We’ve easily written a few dozen articles over the years on ways to use disconnected slicers, and here’s another one! The great thing about DAX is that as it EVOLVES, writing measures and utilizing certain features becomes easier. That’s the goal of this video, it’s not re-inventing the wheel, just refining it. I’ve included below the original DAX Formula I used in the walkthrough. Otherwise, enjoy the video!
Value Selection =
VAR Selection =
SELECTEDVALUE ( 'Value Selection'[Value Selection], "All" )
RETURN
SWITCH (
TRUE (),
Selection = "Actuals", [Sales Amount],
Selection = "Budget", [Budget Amount],
Selection = "Forecast", [Forecast Amount],
[Sales Amount]
)
Видео Disconnected Slicers With DAX Variables And SELECTEDVALUES канала PowerPivotPro
https://www.havensconsulting.net
Today’s topic covers how to create a Disconnected Slicer using DAX Variables and SELECTEDVALUES. We’ve easily written a few dozen articles over the years on ways to use disconnected slicers, and here’s another one! The great thing about DAX is that as it EVOLVES, writing measures and utilizing certain features becomes easier. That’s the goal of this video, it’s not re-inventing the wheel, just refining it. I’ve included below the original DAX Formula I used in the walkthrough. Otherwise, enjoy the video!
Value Selection =
VAR Selection =
SELECTEDVALUE ( 'Value Selection'[Value Selection], "All" )
RETURN
SWITCH (
TRUE (),
Selection = "Actuals", [Sales Amount],
Selection = "Budget", [Budget Amount],
Selection = "Forecast", [Forecast Amount],
[Sales Amount]
)
Видео Disconnected Slicers With DAX Variables And SELECTEDVALUES канала PowerPivotPro
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Harvest Power BI Slicer Selections To Use With Other Measures - Advanced DAX](https://i.ytimg.com/vi/vo2-s2Rbl2Y/default.jpg)
![DAX VARIABLES](https://i.ytimg.com/vi/zVmBesBWr8k/default.jpg)
![Going CRAZY with Power BI slicers not filtering other slicers????](https://i.ytimg.com/vi/o8K4Px_6AYQ/default.jpg)
![DAX Fridays! #118: Get selected or multiple values from slicers using DAX](https://i.ytimg.com/vi/_k_Qxb6pyCc/default.jpg)
![](https://i.ytimg.com/vi/auzrClzJMEk/default.jpg)
![Debug DAX using Variables in Power BI](https://i.ytimg.com/vi/9SV2VnYbgg4/default.jpg)
![Conditional Formatting With Text in Power BI](https://i.ytimg.com/vi/Y8xmJgVjdZs/default.jpg)
![Build a Slicer Panel in Power BI and take it to the next level](https://i.ytimg.com/vi/xy9nmSQeUWg/default.jpg)
![Variables in DAX](https://i.ytimg.com/vi/lcg3xhiR6QI/default.jpg)
![Power BI Feature Spotlight: Using Bookmarks to Create Pop-Up Windows](https://i.ytimg.com/vi/87eoEjrF9jQ/default.jpg)
![Grouping & Segmenting Your Data With DAX Measure Logic - Advanced DAX](https://i.ytimg.com/vi/iH3gW_vy69o/default.jpg)
![Extract Start and End Dates with Power Query - 2 Ways](https://i.ytimg.com/vi/Q_EqrlZAgXI/default.jpg)
![DAX Fridays! #10: RANK/ TOPN with slicer](https://i.ytimg.com/vi/SsZseKOgrWQ/default.jpg)
![Flat Design UI in Power BI Report | Pre-Layouts and Button Highlights](https://i.ytimg.com/vi/t87XXibT6E8/default.jpg)
![Power BI - Exclude Selections in a Slicer](https://i.ytimg.com/vi/pEAwvMkpA8I/default.jpg)
![How To Travel Back In Time Using DAX](https://i.ytimg.com/vi/jTmq_g6DjMI/default.jpg)
![Technique to improve Power BI report perf by reducing visuals](https://i.ytimg.com/vi/kkIXtvU1AiM/default.jpg)
![REDUCE the # of measures with Calculation Groups In Power BI](https://i.ytimg.com/vi/vlnx7QUVYME/default.jpg)
![What Are Table Functions In DAX - (1.14) Ultimate Beginners Guide to DAX 2019](https://i.ytimg.com/vi/aeycw4IW02E/default.jpg)
![DRILLDOWN and DRILLTHROUGH in Power BI - Taking it to the NEXT LEVEL](https://i.ytimg.com/vi/O7aL5v1r6Q4/default.jpg)