Reply
Syndicate_Admin
Administrator
Administrator
Syndicated - Inbound

Measure show multiple segmentation values

Source Community: Power BI Spanish | Source Author Name: apenaranda

Hello

I have the following month segmentation

apenaranda_0-1675343352614.png

What I want is to create a measure where the filter selection is written. The filter is multiple so I can choose more than a month, that's where the problem comes.

I have the following:

ResumenFiltros =

var month = SELECTEDVALUE(Dates[OrderMonthName])

RETURN

COMBINEVALUES(" ; " My: ",my)

If there is only one selection there is no problem, but if there is more than one I get nothing.

Is there a way to show if there is more than one selection?

Thank you.

6 REPLIES 6
Syndicate_Admin
Administrator
Administrator

Source Community: Power BI Spanish | Source Author Name: apenaranda
Syndicated - Inbound

Hello @Syndicate_Admin

Can you help me?

Thank you.

Syndicate_Admin
Administrator
Administrator

Source Community: Power BI Spanish | Source Author Name: apenaranda
Syndicated - Inbound

I've found a clue but I don't know why he does this.

The culmna is ordered by the field month, (numerical field from 1 to 12) but in the view it appears already disordered

apenaranda_0-1675675909912.png

The measure I mentioned before does the same, orders exactly the same.

Syndicate_Admin
Administrator
Administrator

Source Community: Power BI Spanish | Source Author Name: apenaranda
Syndicated - Inbound

Hello @Syndicate_Admin

I have a problem, it doesn't order me correctly if I select every month

apenaranda_1-1675413316826.png

In principle I have ordered that field according to the Month field of the dates table, it should go well, in fact in the filter if it is ordered correctly.

Thank you.

Syndicate_Admin
Administrator
Administrator

Source Community: Power BI Spanish | Source Author Name: apenaranda
Syndicated - Inbound

I already found it, adding more options to the Concatenatex function

CONCATENATEX(

[, [, [, ]]...])

Thank you very much for everything.

Best regards

,
Syndicate_Admin
Administrator
Administrator

Source Community: Power BI Spanish | Source Author Name: apenaranda
Syndicated - Inbound

It works perfectly @Syndicate_Admin thank you very much.

There is only one detail to see if it can be done, as you can see in the capture, I get messy months. Is there a way to order?

apenaranda_0-1675405422970.png

Thank you.

amitchandak
Super User
Super User

Syndicated - Outbound

@Syndicate_Admin , try like

 

Concatenatex(Dates, Dates[OrderMonthName], ", ")

 

or

 

Concatenatex(values(Dates[OrderMonthName]), Dates[OrderMonthName], ",")

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)