cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Anonymous
Not applicable

frequency of product

I've the pbix file https://1drv.ms/u/s!Amd7BXzYs7AVlXPjuP0CfblYyc5K?e=1b9DUX

 

I calculate the frequency of each subprodduct in the fact table

Fréquence = calculate(count(Propre[EPCs]) , REMOVEFILTERS ( 'DimDate' ),FILTER(Propre,Propre[Statut]<>"PROPRE" ))

 

The minimum frquency is 1, but I'd like to get those without any frequency

jaweher89_0-1653756881388.png

expected results

 

jaweher89_1-1653756941308.png

 

 

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , i think you are looking for bucketing

 

Bucket/Segment code
measure


Measure = [Frequency Measure]

 

new Table
bucket = Generateseries(1,100,1)

 

new Measure
Countx(filter(Values(Table[user]), [Measure ] = max(bucket[Value])), [User])

 

refer

Dynamic segmentation -Measure to Dimension conversion: https://youtu.be/gzY40NWJpWQ

 

Power bi New Feature Datamarts - https://youtu.be/8tskWsJTEpg

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors