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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.