How to Add a Percentage Column in Power BI Using DAX Formula

Learn how to create and format a percentage column in Power BI with a simple DAX formula for dynamic reporting.

42 views

To add a percentage column in Power BI, follow these steps: 1. Go to the 'Modeling' tab. 2. Select 'New Column.' 3. Use the DAX formula: `Percentage = DIVIDE([Numerator], [Denominator], 0) * 100`. 4. After creating the column, format it as a percentage by selecting the column and changing the data type in the 'Modeling' tab. This will give you a dynamic percentage column in your Power BI report.

FAQs & Answers

  1. How do I create a new column in Power BI? You can create a new column by going to the Modeling tab and selecting 'New Column,' then entering your DAX formula.
  2. What is the DAX formula for calculating percentage in Power BI? A common formula is: Percentage = DIVIDE([Numerator], [Denominator], 0) * 100, which ensures safe division and calculates percentage.
  3. How can I format a column as a percentage in Power BI? After creating the column, select it and change the data type to Percentage in the Modeling tab.