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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.