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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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