Dynamic Data Type in PowerBI

Ray MindsRay Minds
2 min read

In this article, we will see how we can use dynamic data type feature in Power BI.

Before we dive into this, let us understand what a dynamic data type is? and what it can be used for?

Dynamic data type is a data type format option by which we can show the values generated by the measure into two or more different data types dynamically.

Steps involved in implementation of Dynamic data type: -

  1. First, we need to create a calculated table in which we need to define the data format.

calculated table

calculated table

2. After creating the table, we need to create the measure with dynamic data type selection. Click on “New measure” option from the Home ribbon.

Measures

Measures

3. Apply your measure logic just like the below figure.

DAX

DAX

4. After writing the logic, please click on dropdown box of the format option and click on “Dynamic” data type, as shown in the below snapshot.

Data Type

5. The moment when you select the Format as “Dynamic”, you can notice that there is a list-box appearing (also visible in above snapshot).

Measure List box

6. After that please click on the dropdown of the list-box and select format option, we need to specify the format of data which is not available in the Table Format so that, we can provide the alternate result.

Format List box

Alternate data type resultt

Alternate data type result

Now, you can see dynamic data type in PowerBI. In our case, which is a numerical and a percentage value.

For more updates or if you need any help, feel free to visit our website or leave a comment below. We'd love to hear from you!
https://www.rayminds.com/

0
Subscribe to my newsletter

Read articles from Ray Minds directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Ray Minds
Ray Minds

Where Data Meets Success 🔹 We are a data consulting and analytics firm focused on turning raw data into actionable insights. 🔹 Our mission is to empower businesses and individuals through smart, data-driven solutions. 🔹 We offer services in data analytics, visualization (Power BI, Tableau), data engineering, and business intelligence. 🔹 We also mentor and train aspiring data professionals through internships and real-world projects. 🔹 Whether you're a startup, enterprise, or student – we help you unlock the full potential of data.