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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
gianmarco
Helper IV
Helper IV

Problem on a custom column

Dear All,
I have created the follow custom column:
 
StatoPagamento_SCEN =
var _a = FILTER(SUMMARIZE(Cashflow,Cashflow[StatoPagamento]),Cashflow[StatoPagamento]<>"")
var _b = CROSSJOIN({""},_a)
var _c = ADDCOLUMNS(_a,"Value",Cashflow[StatoPagamento])
return UNION(_b,_c)
 
which returns the following table:
ValueStatoPagamento
 Pagato
 Non Pagato
PagatoPagato
Non PagatoNon Pagato

 

What I want to achieve though is the following table:

ValueStatoPagamento

 Pagato
PagatoPagato
Non PagatoNon Pagato

 

 

Do you have any suggestion on I shall modify my custom column?
Thank you a lot

gianmarco 

 
2 REPLIES 2
Anonymous
Not applicable

Hi @gianmarco ,

In order to better understand your demands and give the right solution, could you please provide some more specific information? such as your desensitized example data and a screenshot of your desired results?

Thanks for your efforts & time in advance.

 

Best regards,
Community Support Team_Binbin Yu

Hi @Anonymous v-bin,

 

I can slice a table for the following row values:

1) null

2) x

3) z

 

What I want to achieve is a slicer where I can filter for the following options:

1) x & null

2) z

 

In other words, you can slice for x and z only but when you slice for x you slice for null as well.

 

Thank you very much

gianmarco

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.