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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
latrous98
Frequent Visitor

Summerize column distinct

I'm new to dax, and I have created a table using this code.

Summary installation =
VAR _Table = SUMMARIZECOLUMNS('produit installé'[Netbios_Name0],'produit'[FileDescription (groups)])
return DISTINCT(_Table)
but there is a problem with it as the returned table gives me a row of netbios_Name for each file description category.
is there a way to fix this .
thanks for your help 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@latrous98 , if these table have join summarize should also work

 

SUMMARIZ('produit installé', 'produit installé'[Netbios_Name0],'produit'[FileDescription (groups)])

 

or

 

SUMMARIZ('produit', 'produit installé'[Netbios_Name0],'produit'[FileDescription (groups)])

 

if these does not work

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@latrous98 , if these table have join summarize should also work

 

SUMMARIZ('produit installé', 'produit installé'[Netbios_Name0],'produit'[FileDescription (groups)])

 

or

 

SUMMARIZ('produit', 'produit installé'[Netbios_Name0],'produit'[FileDescription (groups)])

 

if these does not work

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

if I want to make a measure that does give the rows number and filter upon that , and then use it in a visual , what is the blueprint I need to follow ?

 

the first table 'produit installé' (installed product ) contains all the products regardless of the groupe they belong to so doing a summerizeColumn without distinct give me rows as much as there is subproduct to a given category .
but when I applied the distinct ,I get as much rows for all the groupement even though that doesn't exist to start with

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.