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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.