A technique to count anything in Power Query and some in DAX too

preview_player
Показать описание
In todays video I will show you a technique to count any text in a cell in Power query and DAX.

SUBSCRIBE to learn more about Power and Excel BI!

Our PLAYLISTS:

☼☼☼☼☼☼☼☼☼☼

POWER BI COURSES:

Want to learn Power BI? How about you take one of our courses? Here you can find the available courses:

☼☼☼☼☼☼☼☼☼☼

ABOUT CURBAL:

************

MY GEAR: You often ask me what software I use to edit my videos, so I thought I let you know in the description and give you a discount code so you can get it too!
COUPON: CURBAL10

Note, if you purchase the software using the link or code, I will receive a small commission and you will indirectly support my channel. Thanks in advance!

************

QUESTIONS? COMMENTS? SUGGESTIONS? You’ll find me here:
Twitter ► @curbalen, @ruthpozuelo

#CURBAL #SUBSCRIBE
Рекомендации по теме
Комментарии
Автор

Wow... I was working on this problem literally 5 minutes ago and I took a coffee break, saw your video. Are you spying on my work??? ❤❤❤ I love your content.

daveb
Автор

Thank you Ruth your video assisted me to solve my issue in counting spaces in emails. My question is why do you have to include the -1 to get the count result?

cazvon
Автор

I got a job just because of your videos❤️

myvotemypower
Автор

Hi Curbal, is there a way to count an specific value repeated through multiple columns using power query. Please advise. You are amazing God bless you. You help and save jobs around the planet. :)

dianaayala
Автор

it works! I was actually looking for a function that would count the match value per row, i.e., how many a in a cell for the whole column and get a new column with the counts. I the split into list and count works for me.

hongjiang
Автор

Thanks for sharing...was looking for ways how to do this a couple of days ago 👍🏽

tllittle
Автор

Thanks for the explanation, so informative.
In my opinion, Power BI was promoted to the role of star, DAX to the role of Swiss Army knife, and the fundamental and structuring role of Power Query was completely neglected.

joaorataoo
Автор

Thank you! Solved by work problem in minutes. I try to do most things now in PQ vs Excel. An old dog (61), can learn tricks :)

janenewillsey
Автор

Thank you for sharing. Your videos are always worth the time Ruth and you never disappoint :)

ewad
Автор

Hi, Thank you for your Awesome videos and simplified content always, helps a lot.
I am stuck and need your help with Slicer, I need to implement date slicer having option as a drop down which contains Year, Quarter, Month, Week, Day, Custom Filter ( this custom filter on click will open date slicer having option as “between” )! Or any other work around for this creating custom visuals or via measures. I am running out of options to think on it

saadatnasibdar
Автор

I was thinking you were going to show how to count the number of occurrences of a row's value in the entire column. Very different. Can you do a video on the latter?

markhenderson
Автор

Great demo Ruth! Will definitely use this tip in the future. Thanks and thumbs up!!

wayneedmondson
Автор

Cool video, thanks :)
I'm stuck in a situation that you can guide with. I have a comma separated list BUT I want to count items after name of my team appears. It can appear multiple times, but I need to start counting after it appears first time.
In this example, keyword is 'Pie'
Pasta, Apple Pie, Noodles, Rice, coffee. (Answer is 3)
Custard, Pizza, Apple Pie, Burger, Wings, Apple Pie, Coffee, Tea, Durritos. (Answer is 6)

TheAlhumam
Автор

excellent video. What if i wanted to keep in the cell only where the text is equal to apple. ex. apple, pear, orange. But only keep apple and remove everything else?

jayeshaw
Автор

Hey, this was informative. I had a real-time scenario, hope i am able to explain it right. What if we need to find in a comma-separated text in a column that contains a text value from a list.
Imagine the situation of using tags for content. Content may have multiple tags and we need to categorize if the tag column contains any tag value from the lookup list. For now, i have achieved it using the if function, however, exploring to find a better way to do it.

sabari
Автор

Hi need support in the following query;
Wanted to know if i create a DAX measure using SWITCH, and then use it not just for one column but that DAX measure could be used for other columns too. Following is the measure.
Switch = SWITCH(TRUE(), "Strongly Disagree", 1,

"Disagree", 2,

"Slightly Disagree", 3,

"Slightly Agree", 4,

"Agree", 5,

6

)

EngineeredFoodies
Автор

Gracias por compartir tu conocimiento de forma gratuita, me resulto de mucha ayuda tu video

BiEslava
Автор

its Grate Ruth, But am still struggle with Customer billing count, pls do vlog for it

warunat
Автор

Ótima explicação. Obrigado pelo vídeo Ruth. Eu estava com esse problema e vc me ajudou

andredeoliveira
Автор

thats cool. but is there any way how to count occurance of each fruint in another table. so one table would be yours A1Fruit and second table would be just Apple, Orange, Grape and number of occurance in first table?

thing