Тёмный

How to find the Dimension Member with the Highest Measure Value in Tableau 

Tableau
Подписаться 112 тыс.
Просмотров 37 тыс.
50% 1

In this silent video you’ll learn how to show a the dimension member with the highest measure value in Tableau.
Read the full article here: Finding the Dimension Member with the Highest Measure Value - kb.tableau.com/articles/howto...
- - - - - - - - - - - - - -
OPTION 1
1. Drag Regions to Rows.
2. Drag Measure Names to Columns and Measure Values to Text.
3. Create three calculated fields.
4. Name the calculated field "Maximum regional sales (LOD)" and enter the following formula: {FIXED : MAX( { FIXED [Regions] : SUM( [Sales] ) } ) }
5. Add the calculated field to the Rows shelf
6. Right click the calculated field on Rows and convert it as Discrete
7. Right click the calculated field on Rows and select Format... to remove or customize decimals.
8. Name the calculated field "Region with highest sales Filter (LOD)" and enter the following formula: { FIXED [Regions] : SUM([Sales]) } = [Maximum regional sales (LOD)]
9. Add the calculated field to the Rows shelf
10. Name the calculated field "Region with highest sales (LOD)" and enter the following formula:
IF { FIXED [Regions] : SUM( [Sales] ) } = [Maximum regional sales (LOD)]
THEN [Regions]
END
11. Drag [Region with highest sales (LOD)] to the Rows shelf.
OPTION 2
1. Drag Regions to Rows.
2. Drag Measure Names to Columns and Measure Values to Text.
3. Create three calculated fields.
4. Name the calculated field "Maximum Sales (table calc)" and enter the following formula: WINDOW_MAX( SUM( [Sales] ) )
5. Add the calculated field to the Rows shelf
6. Right click the calculated field on Rows and convert it as Discrete
7. Right click the calculated field on Rows and select Format... to remove or customize decimals.
8. Name the calculated field "Region with highest sales (table calc)" and enter the following formula:
IF SUM( [Sales] ) = [Maximum Sales (table calc)]
THEN MIN( [Regions] )
END
9. Add the calculated field to the Rows shelf
Related
Transform Values with Table Calculations - help.tableau.com/current/pro/desktop/en-us/calculations_tablecalculations.htm
Overview: Level of Detail Expressions - help.tableau.com/current/pro/desktop/en-us/calculations_calculatedfields_lod_overview.htm
- - - - - - - - - - - - - -
Subscribe to the Tableau RU-vid channel here: ru-vid.com_c...
Free Trial of Tableau: www.tableau.com/products/trial

Наука

Опубликовано:

 

25 авг 2019

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
Make an AWESOME Tableau Dashboard in Only 10 Minutes
11:31
Me: Don't cross there's cars coming
00:16
Просмотров 3 млн
How to highlight an entire row in tableau
15:47
Просмотров 9 тыс.
Create 10 ACTIONABLE & IMPACTFUL KPIs in Tableau
15:28
Tableau Quick Tip - SUM vs WINDOW_SUM vs TOTAL
7:03
Просмотров 12 тыс.
3 Essential Excel skills for the data analyst
18:02
Просмотров 1,5 млн
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
Просмотров 160 тыс.