Power BI Dynamic Number Formatting | Format Measures Based on Your Data
BCTI
0:00 / 0:00
Power BI Dynamic Number Formatting | Format Measures Based on Your Data
1 413 просмотров · 1 месяц назад
BCTI
14,7 тыс. подписчиков
1 413 просмотров · 1 месяц назад
Learn how to use Dynamic Number Formatting in Power BI to automatically change how measure values are displayed based on your data and filter context.
-----------------------------------------------------------------------------------------
File Download Link:
https://www.bcti.com//wp-content/YT_D...
Creating a Dedicated Measures Table (video link):
• Power BI & Excel - Creating a Dedicated Me...
Number Formatting Codes (resource link):
https://exceljet.net/articles/custom-...
-----------------------------------------------------------------------------------------
In this tutorial, we'll explore how dynamic format strings for measures work and how DAX can be used to control number formatting without converting numeric results to text.
You'll learn how to dynamically display values as:
Currency with different symbols
Different decimal precision
Percentages
Whole numbers and decimal values
Country-specific currency formats
Formats driven by slicer or filter selections
We'll also look at DAX functions such as SELECTEDVALUE, variables, and dynamic format string expressions to build flexible formatting logic.
Dynamic number formatting is especially useful when creating Power BI reports that contain multiple currencies, KPIs, financial measures, or values requiring different levels of precision.
Topics covered:
Power BI Dynamic Number Formatting
Dynamic Format Strings for Measures
DAX SELECTEDVALUE
Dynamic Currency Formatting
Dynamic Decimal Precision
Power BI Measure Formatting
Currency Symbols in Power BI
Data-Driven Number Formats
Power BI Matrix Formatting
Advanced DAX Formatting Techniques
Topic Chapter Bookmarks:
======================
00:29 Defining the Problem
00:46 Defining the Solution
01:40 File Download Instructions
01:50 Data Model - Overview
03:00 Creating a Dedicated Measures Table
03:45 Creating the "Old School" Measure
06:29 Implementing Dynamic Formatting
06:36 Customizing the Measures Table
08:58 Examining Format Preset Codes
10:33 How to return to editing the format codes
15:24 On-Demand Card Visuals
16:00 Hiding Card Visuals Dynamically
16:56 Conclusion