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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
paweldm
Helper II
Helper II

Numeric Distribution Calculation (thread 1)

Dear Community Members,

 

I need your help with quite complex case of numeric distribution calculation. 

I was suggested by one of the community member @v-chuncz-msft

to break my original case into smaller threads. https://community.powerbi.com/t5/Desktop/Numeric-Distribution-Calculation/td-p/304859

 

First, I have calculated total number of stores with optional selection of multiple filters. 

Second, I need to calculate total number of active stores with optional selection of multiple filters, but I don't know how to write DAX code for that measure [Total Num of Active Stores].

 

One store can be supplied by multiple distributors. 

Active store is considered when selected distributor(-s) has already shipped selected product(-s) to the store for one time.

https://en.wikipedia.org/wiki/Numeric_distribution

 

Pawel

1 REPLY 1
paweldm
Helper II
Helper II

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.