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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
AlessandroBet
Helper V
Helper V

Creating a new group with DAX

Hi,

 

i'm getting data from dataset so i can create new new group field. Can i do it working with DAX?

 

thanks

1 ACCEPTED SOLUTION

It's not possible to do with a measure. 


Connect on LinkedIn

View solution in original post

11 REPLIES 11
tex628
Community Champion
Community Champion

Can you provide an example of the desired outcome? 


Connect on LinkedIn

I have a list of strings inside a field:

DN_AD

DS_AD

DW_AD

DN_AA

DS_AA

DW_AA

...etc

 

As you can see the first 3 end with AD and the last 3 with AA

I would like group named "AD" with the following string

- DN_AD

- DS_AD

- DW_AD

and a group named "AA" with the following string

- DN_AA

- DS_AA

- DW_AA

 

I hope this can help you understand what i need

Like this?
image.png


Connect on LinkedIn

you have created a table.

I need to use this new goup to filter others things

 

Take a picture of the dataset please, im not quite sure what exactly it is you're looking for.


Connect on LinkedIn

I need to create new measure with this new group "AD" AA"..etc

As you can see pressing rigth mouse botton i can't creata the new group

 

Cattura.PNG

A group cannot be created on the table. Right now you are right clicking the Account table. You need to create the group on the column that you are using to define the different groups. 


Connect on LinkedIn

with this dataset i can't create columns that why the reason i'm asking help to create these measure with DAX

Oh okay. Measures only hold scalar values so you will not be able to create a category using a measure. 

What kind of a query is it if you cant create calculated column? 


Connect on LinkedIn

i dont need to create a query. I want only to create a new group with DAX that includes some strings

It's not possible to do with a measure. 


Connect on LinkedIn

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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