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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Using Dax functions to create a mesure.

 

Hello,

I have this table that contains several groups. In the screenshot, I filtered only on a single group( GROUP 1)  to minimise the data. I wish I could create a measure, or a calculated column that returns for each group, the name of the class: the classes are A, B, C, D, E, F, G. They must always appear on the visual even if they are missing for some groups. In each class I have to display the names like the example I showed.

Any suggestion please? 

 

 

khouloud_belhaj_0-1626873320004.png

 

khouloud_belhaj_1-1626873404017.png

 

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , while I did not get it completely. 

You need to have a separate table with distinct nom class 

 

Class  = distinct(Table[Nom Class]) 

Join this with this table  

 

I think you need a measure like  

 

measure = 

var _con = concatenatex(Table, Table[Nom]) 

return 

if(isblank(_con), "", _con) 

 

display with new table's column 

 

 

if not 

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
Anonymous
Not applicable

@amitchandak  any suggestion please? 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Solution Authors