RUVIDEO
Поделитесь видео 🙏

How to replace NULL or missing data with zeros or existing data using the ZN function in Tableau

In this silent video you’ll learn how to do use ZN() function to replace NULL or missing data with zeros or existing data in Tableau.

Read the full article here: Replace NULL or Missing Data With Zeros or Existing Data — https://kb.tableau.com/articles/howto/populate-empty-cells-in-a-text-table-with-zeroes-or-existing-data

- - - - - - - - - - - - - -

1. Select Analysis and then Create Calculated Field
2. In the Calculated Field dialog box that opens, Name the calculated field. In this example, the calculated field is named "Replace empty cells with zero (opt 1)", enter the formula similar to the suggestion in the article and then click OK.
NOTE: The ZN() function will replace any NULL values with zero
3. In the Calculated Field dialog box that opens, Name the calculated field. In this example, the calculated field is named "Replace empty cells with last value (opt 1)", enter the formula similar to the suggestion in the article and then click OK.
NOTE: IFNULL(..., PREVIOUS_VALUE(0)) will replace any NULL values with the last value of this calculation, which creates a running last value. Depending on how the view is built, it may be necessary to compute PREVIOUS_VALUE() differently. See Transform Values with Table Calculations
4. Replace [Amount] on Text on the Marks card with either [Replace empty cells with zero (opt 1)] or [Replace empty cells with last value (opt 1)] depending on the desired end result
5. (Optional) Customize the values in the view by right-clicking the value and formatting it as desired.


Related solutions:
Show or Hide Missing Values or Empty Rows and Columns — https://help.tableau.com/current/pro/desktop/en-us/missing_values.htm
Displaying Missing Values as Strings for a Measure — https://kb.tableau.com/articles/HowTo/displaying-missing-values-as-strings-for-a-measure
Join Your Data — https://help.tableau.com/current/pro/desktop/en-us/joining_tables.htm

- - - - - - - - - - - - - -

Subscribe to the Tableau YouTube channel here: http://www.youtube.com/subscription_center?add_user=tableausoftware

Free Trial of Tableau: https://www.tableau.com/products/trial

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «How to replace NULL or missing data with zeros or existing data using the ZN function in Tableau», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.