darusuna.com

Calculating Market Size KPI in Power BI: A Comprehensive Guide

Written on

Understanding Market Size and Its Importance

Calculating market size is crucial for businesses that want to grasp their potential customer base and revenue possibilities. By assessing the total demand for a product or service within a certain market, organizations can make strategic decisions regarding marketing, budgeting, and growth opportunities.

Key Aspects of Market Size:

  • Significance: Estimating market size enables businesses to understand potential customer reach and revenue prospects.
  • Decision-Making: Reliable market size calculations guide marketing tactics, budget distribution, and growth strategies.
  • Guide: This article offers a clear and straightforward method for accurately estimating market size, assisting businesses in navigating their market effectively.

In this guide, I will walk you through the process of creating a card visual in Power BI to showcase the market size for a specific brand.

At the conclusion, we will have a visual like this one:

Example of a market size KPI card in Power BI

Market Size for Category A KPI

Building the KPI Card for Market Size

We will cover the following steps:

  1. Understanding the KPI table
  2. DAX for Market Share
  3. Creating and Formatting the KPI Card

Happy learning!

Step-by-step guide to create a KPI card in Power BI

1. Understanding the KPI Table

We will utilize the following table for our KPI analysis:

Market Share Table showcasing various products and brands

The Market Share Table

  • Columns:
    • Product: Lists individual products (e.g., Product1, Product2).
    • Category: Classifies products into categories (e.g., A, B, C).
    • Brand: Indicates the brand associated with each product (e.g., Brand1, Brand2).
    • Sales: Displays sales figures for each product.

Key Insights:

  • Category A:
    • Brand1 has three products with sales of 50, 30, and 18.
    • Brand3 has two products with sales of 54 and 24.
  • Category B: Brand2 has three products with sales of 65, 94, and 20.
  • Category C: Brand4 has one product with a sales figure of 145.

Summary:

  • Brand1 and Brand3 compete within Category A.
  • Brand2 leads Category B with three products.
  • Brand4 is the only brand in Category C, achieving high sales.

This table provides insights into sales distribution across various products, categories, and brands, offering a comprehensive overview of market performance.

2. DAX for Market Share

To calculate market size for Category A, we will use the following DAX formula:

Market Size CatA = CALCULATE(SUM(Market_Share[Sales]), ALLEXCEPT(Market_Share, Market_Share[Category]), Market_Share[Category] = “A”)

Example of DAX formula used for calculating market size

Breakdown of the DAX Formula:

  • CALCULATE: Evaluates an expression in a modified filter context, allowing for specific adjustments based on the data.
  • SUM(Market_Share[Sales]): Computes the total sales from the Sales column in the Market_Share table.
  • ALLEXCEPT: Removes all filters except for the Category column, ensuring that the calculation considers all sales within the same category.
  • Market_Share[Category] = “A”: Filters the data to include only rows where the category is "A."

Overall, this DAX formula sums sales figures for Category A by aggregating all relevant products while ignoring other applied filters.

Market size calculation results for Category A

For Category A, the sales values of 98 and 78 yield a total of 176, which represents the market size.

3. Creating and Formatting the KPI Card

To create the KPI card, select the card visual from Visualizations and input the IRR data. Navigate to Format visual, then in Visual, go to Callout values. Here, expand the options, choose a color of your preference (I selected #0492D9), adjust the horizontal alignment, and set the font to bold.

Callout values settings for KPI card

Next, expand Label settings, choose a color (I opted for #605E5C), and make the font bold.

Label settings for KPI card

Then, expand Image settings, select your preferred image, position it to the right of the text, disable fixed size, and set the image size to 30%.

Image settings for KPI card

After that, expand Cards, enable the Accent bar, and for color, select #0492D9. Set the position to Bottom and the width to 9px. Finally, navigate to Format visual, enable Visual border, set the color to #0492D9, and adjust rounded corners to 10% with a width of 1px.

Accent bar settings for KPI card

With these steps completed, we have successfully created the KPI card.

Final KPI card after formatting

Understanding and Creating Internal Rate of Return (IRR) KPI in Power BI

Power BI serves as a versatile platform, enabling users to connect to various data sources, transform and model data, and create insightful visualizations.

The first video titled "KPI Visual Ideas in Power BI" presents innovative approaches to visualizing KPIs in Power BI, offering valuable insights for effective data representation.

The second video, "How to Transform a LINE CHART into an Insightful KPI VISUAL in Power BI," demonstrates how to convert traditional line charts into impactful KPI visuals, enhancing data interpretation.

Thank you for your attention!

Follow me or subscribe to receive all my Power BI articles!

Shashanka Shekhar - Medium

Read writing from Shashanka Shekhar on Medium. Contributor for Microsoft Power BI. I enjoy data analysis and visualization.

Don’t forget to subscribe to:

  • Power BI Publication
  • Power BI Newsletter
  • Join our Power BI community
  • Power BI Masterclass

References:

Share the page:

Twitter Facebook Reddit LinkIn

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

Recent Post:

Launching the Angelucci Business Times: Your Daily Business Source

Discover the Angelucci Business Times—your go-to online source for daily business news, entrepreneurship insights, and economic updates.

Exploring the Potential Memory Benefits of Wasabi: A Critical Review

A critical examination of claims linking wasabi to improved memory, highlighting the study's limitations and industry influence.

The Dawkins Effect: Provoking Thought and Intellectual Engagement

Richard Dawkins challenges beliefs and promotes critical thinking through his ideas on religion and science.