Quantcast
Channel: Power Query topics
Viewing all articles
Browse latest Browse all 31068

Number of occurences in a column

$
0
0

Hello ! 

 

I'm trying to fill a Card Box in Power BI with the differents occurences of words in my column

I have a column (NumberTel) that count the number of phone I have in my table (0, 1, 2, 3) and I would like to know how to put (in percent) those values in a Visual element

 

I know how to make a graph (doughnut / circular /etc.) but I would like to put them in a Card box 

 

I know the syntax of this query in SQLServer but can't figure out how to do it in PowerBI...

I don't want to create 4 columns for my 4 values with 1 or 0 in it and them sum it to have the amount of each one (Already had this idea but not the best option)

 

Thanks in advance Smiley Happy


Viewing all articles
Browse latest Browse all 31068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>