Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Anonymous
Not applicable

Measure calculation

Hi, Gurus.

I have a task to calculate performance of product launches.

One of KPI is NSD - numeric sales distribution, which calculates - #selling points of selected product / #selling points of any product.

I have incoming data of 5 products with different selling periods of each (pre-calculated first 10 weeks of every product).

4 products have correct names and 5th is a groupped name - Other products (to decrease number of incoming rows). 

 

The task is a simple line chart of 4 products (exclude Other products) and there performance in there 1st 10 weeks - so x-axis is 1-to-10 values. The problem is - calculation of NSD denominator. I've calculated with datediff [weeks on market] for every product.

But! Other products includes more that 10 weeks due to different launch dates of every product:

wrong_dates.png

 

Data fields:

selling_point

week_start_date

product_name

product_category

data_provider

warehouse

 

So here is where help is required. I need to calculate #unique selling points for week_start_date, but showing only weeks_on_market. Several filters should be applicable.

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous,

>>So here is where help is required. I need to calculate #unique selling points for week_start_date, but showing only weeks_on_market. Several filters should be applicable.

I'm not so clear about your description. Can you please explain more about these?

How to Get Your Question Answered Quickly
Did you mean to get the unique count of the product based on each 'start date' or get unique count based on the weeknum and 'start date' group?

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.