Categorías: BI

PowerBI and the use of conditional metrics

Many times we have the data with a structure that is not the desired one and to show the information as you want is a bit complicated. For this purpose, functions such as SELECTEDVALUE and SWITCH exist in PowerBI to generate dynamic metrics.

An example of this problem for instance, we have many columns for each row. In the report we have to develop we have to show only one column but this column must be able to change depending on the selected filter.

So, to do this with PowerBI it is necessary to make use of DAX to implement the logic and auxiliary tables to display the filters.

Download of material: http://datamanagement.es/Recursos/DAX_Medida_Dinamica.rar

In the structure of the dataset all the metrics in columns are defined. we want to have a column that is conditional and depends on the selected filters.

Francisco Rodríguez Alfaro

Ver comentarios

Entradas recientes

Proyectos de Web Scraping, Integración de datos y big data

¿Qué es el web scraping? ¿Qué se puede obtener con él? ¿Por qué es interesante…

2 años hace

Proyectos de Web Scraping, Integración de datos y big data

¿Qué es el web scraping? ¿Qué se puede obtener con él? ¿Por qué es interesante…

2 años hace

La importancia de la Ingeniería de datos y el Big Data en el Marketing Digital

En un mundo cada vez más digitalizado las personas tendemos cada vez más a realizar…

3 años hace

Power BI Embedded en aplicaciones WEB

Introducción Ya utilizas powerBI de costumbre para analizar tu negocio y te gustaría ir un…

3 años hace

Obtener el valor anterior NO NULO con SQL Server, MySQL y PostgreSQL

Introducción En el desarrollo de proyectos de Business Intelligence, Big Data y Data Science la…

5 años hace

¿Código Python dentro de SQL Server?

  ¿Python en SQL Server?    Sí, desde la versión de SQL Server 2016 se…

5 años hace