Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi all,
i have a list of brands that i filter by year and week and i show the distinct number of them with this function:
Solved! Go to Solution.
@Astolfo ,
Brands =calculate( DISTINCTCOUNT( Cartel1[Fornitore]),filter(Cartel1,not [Fornitore] in {"ADIDAS","Giorgio","Armani"}))
or refer to exclude using slicer- Power BI Exclude selected Slicer value, Independent Table: https://youtu.be/lOEW-YUrAbE
Does this work for you?
Brands = DISTINCTCOUNT ( Cartel1[Fornitore] )
Total Brands =
CALCULATE (
[Brands],
FILTER ( Cartel1, not [Fornitore] in {"ADIDAS","Giorgio Armani"} )
)
Both measures work well, many thanks!!!
Does this work for you?
Brands = DISTINCTCOUNT ( Cartel1[Fornitore] )
Total Brands =
CALCULATE (
[Brands],
FILTER ( Cartel1, not [Fornitore] in {"ADIDAS","Giorgio Armani"} )
)
@Astolfo ,
Brands =calculate( DISTINCTCOUNT( Cartel1[Fornitore]),filter(Cartel1,not [Fornitore] in {"ADIDAS","Giorgio","Armani"}))
or refer to exclude using slicer- Power BI Exclude selected Slicer value, Independent Table: https://youtu.be/lOEW-YUrAbE
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.