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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Syndicate_Admin
Administrator
Administrator

Calculated columns of selected values

Hello

I have a [ResponsesForm] table with a column of numerical values =ValueFreeResponds]

martu_1-1661344237558.png

Add 3 calculated columns; TotalNegatives, TotalNeutras,TotalPositives with the DAX

Ej; TotalNegativas= IF(RespuestasFor[ValorGralRespuestas]=0,"neutra",

IF(RespuestasForm[ValorGralRespuestas]<3,"Negativas"))

Then add the values of each column calculated with;

CALCULATE (

SUM (respuestasForm[ValorGralRespuestas]),

FILTER

ALLSELECTED(RespuestasForm[TotalNegativas]),

ISONORASTER (respuestasForm[TotalNegativas]),MAX

(RespuestasForm[Totalnegativas]))))

martu_2-1661344485744.png

BUT when I take it to visualization, for example; in dimension rules and regulations, there are no answers with negative values, but it indicates 148%

I don't know if it's the whites) how could I solve it?

martu_3-1661344525150.png

2 REPLIES 2
Anonymous
Not applicable

Hi @martu ,

 

 

What' the %Valor? Is that a Measure, a calculated column or a column imported?

You could try creating a measure that adds up all the values and divides the values of the current row by the total.

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Syndicate_Admin
Administrator
Administrator

Hello again

What I see or interpret what happens is that in the visualization it brings me the accumulated;

Total positive has 47 and although in neutral and negative there are 0 I move the 47 and I get its % to reason of the total of each column

martu_0-1661349418419.png

any ideas to change this?

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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

Users online (2,891)