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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
T_von_Axt
Helper I
Helper I

Creating a chart to show values that are equal to 1 in multiple columns

Hello,

 

I am currently having an issue generating a column chart that shows how many ids contain a value equal to 1 in multiple columns.

My data model looks something like this:

 

Id error1 error2 error3 error4 
A1000
B0110
C0011

 

I want to generate a chart that shows how many values in each column are equal to 1, and when I click in that column in the chart, it will apply a filter for that column in the visual.

 

Currently, I can generate the chart fine, but it acts more like of a sum of all values and when I click in it, it filters nothing.

 

Does anyone know a solution for this?

Thank you in advance.

5 REPLIES 5
Anonymous
Not applicable

Hi i have the ecomm data in period wise (7 periods)in visual i have taken all the periods but i want current period displayed on the page but have the option to filter by previous periods as well .

jyothi12_0-1657005039682.png

but i need only one period in visual if suppose iam filtering the period 2 in page i want to display the period 2 data in visual

 

v-zhangti
Community Support
Community Support

Hi, @T_von_Axt 

 

Do you expect a result like this?

vzhangti_0-1656946195023.png

If not, please let us know more details.

 

Best Regards,

Community Support Team _Charlotte

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

Hello, @v-zhangti 

 

My expected solution would be if those values were stacked. What I mean is one column for each error showing the total amount of ids per error, with the option to filter these ids by clicking in the columns. Currently I have around 85k ids. It would not work with this solution.

 

 

amitchandak
Super User
Super User

@T_von_Axt , unpivot all error columns in power query, that will give a better solution

 

https://radacad.com/pivot-and-unpivot-with-power-bi

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak ,

 

Unfortunately I cannot unpivot the columns, since their values are generated by different DAX expressions.

 

Is there any way to do it with charts?

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.

Top Solution Authors
Top Kudoed Authors