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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
oakfootballclub
Helper IV
Helper IV

how to get multiple rule to a single column

Hi experts, recently I have encountered a complicated problem and now hope to be able to solved via your support.

here is the data:

value
5
7
14
16
4
2
8
10
20
3
6

 

and based on the data above here is a  rule to get a new column

when then
1<= value < 10 A
6<=value<10 B
value>=10 C

 

and here is the expected result:

 

valueexpected result
5A
7A, B
14C
16C
4A
2A
8A, B
10C
20C
3A
6A, B 

can you help me to get the expected result? Thank you.

 

 

2 ACCEPTED SOLUTIONS

Here is the solution 

elitesmitpatel_0-1726288749007.png

create a measure -->

Category =
var a = IF(SUM('Table'[value]) >= 1 && SUM('Table'[value]) < 10, "A ",BLANK())
var b = IF(SUM('Table'[value]) >= 6 && SUM('Table'[value]) < 10, ", B",BLANK())
var c = IF(SUM('Table'[value]) >= 10, "C", BLANK())

RETURN
CONCATENATE(a,CONCATENATE(b,c))

Here is the file --
Get multiple rule to a single column 

If it helps ,Please appreciate by Accept it as solution.

View solution in original post

dharmendars007
Memorable Member
Memorable Member

Hello @oakfootballclub , 

 

Please try this measure in your calculated column, this should work..

 

dharmendars007_0-1726293050857.png

 

If you find this helpful , please mark it as solution and Your Kudos are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

View solution in original post

3 REPLIES 3
dharmendars007
Memorable Member
Memorable Member

Hello @oakfootballclub , 

 

Please try this measure in your calculated column, this should work..

 

dharmendars007_0-1726293050857.png

 

If you find this helpful , please mark it as solution and Your Kudos are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

oakfootballclub
Helper IV
Helper IV

Hi experts, recently I have encountered a complicated problem and now hope to be able to solved via your support.

here is the data:

 

value
5
7
14
16
4
2
8
10
20
3
6

 

and based on the data above here is a  rule to get a new column

when then
1<= value < 10 A
6<=value<10 B
value>=10 C

 

and here is the expected result:

 

valueexpected result
5A
7A, B
14C
16C
4A
2A
8A, B
10C
20C
3A
6A, B 

can you help me to get the expected result? Thank you.

Here is the solution 

elitesmitpatel_0-1726288749007.png

create a measure -->

Category =
var a = IF(SUM('Table'[value]) >= 1 && SUM('Table'[value]) < 10, "A ",BLANK())
var b = IF(SUM('Table'[value]) >= 6 && SUM('Table'[value]) < 10, ", B",BLANK())
var c = IF(SUM('Table'[value]) >= 10, "C", BLANK())

RETURN
CONCATENATE(a,CONCATENATE(b,c))

Here is the file --
Get multiple rule to a single column 

If it helps ,Please appreciate by Accept it as solution.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.