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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Kins_
Regular Visitor

Creating graphs and other visuals

I have a form in CRM that has over 200 columns. These colums' values vary from 0, 0.5, 0.75 and 1. I want to be able to generate visuals such as bar graphs using this columns and be able to count the specific values of the columns. For example, the of 0's and 1's in a certain column.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @Kins_ ,

 

Here are the steps you can follow:

1. Unpiovt column in Power Query for columns that need to be calculated.

Ctrl +A to select all.

vyangliumsft_0-1709778482586.png

Ctrl + Left mouse click + Cancel columns that do not need to be calculated.

vyangliumsft_1-1709778482587.png

Transform – Unpivot Columns.

vyangliumsft_5-1709778552856.png

2. using matrix visual - place [Value] columns in Rows and Value respectively and set Count in Value.

vyangliumsft_2-1709778503245.png

3. In visual filter - Basic filtering - set 0 and 1.

vyangliumsft_3-1709778503246.png

4. Result:

vyangliumsft_4-1709778522059.png

 

 

Best Regards,

Liu Yang

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

View solution in original post

2 REPLIES 2
Kins_
Regular Visitor

Hi @Anonymous 
Thank you this it really helps. Please assist on this, NB: the form includes a column labeled “Police Station”. To narrow down the data, I intend to create a list that specifically highlights those police stations where the count of zeros in a certain column is approximately five. How can I achrive that? Add the bar graphs should look like this, 

Kins__0-1709803959473.png

Thanks,

Anonymous
Not applicable

Hi  @Kins_ ,

 

Here are the steps you can follow:

1. Unpiovt column in Power Query for columns that need to be calculated.

Ctrl +A to select all.

vyangliumsft_0-1709778482586.png

Ctrl + Left mouse click + Cancel columns that do not need to be calculated.

vyangliumsft_1-1709778482587.png

Transform – Unpivot Columns.

vyangliumsft_5-1709778552856.png

2. using matrix visual - place [Value] columns in Rows and Value respectively and set Count in Value.

vyangliumsft_2-1709778503245.png

3. In visual filter - Basic filtering - set 0 and 1.

vyangliumsft_3-1709778503246.png

4. Result:

vyangliumsft_4-1709778522059.png

 

 

Best Regards,

Liu Yang

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

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.