No video

How to COUNT in Power BI // COUNT, COUNTA, DISTINCTCOUNT, COUNTBLANK, COUNTROWS, COUNTX, COUNTAX

  Рет қаралды 98,799

Fernan

Fernan

Күн бұрын

Пікірлер: 112
@sixtyfiveroses2968
@sixtyfiveroses2968 2 жыл бұрын
Perfect explanation, just what I was looking for! I've watched many videos, but no one explains it the way you did. Thank you again! Subscribed.
@SolutionsAbroad
@SolutionsAbroad 2 жыл бұрын
Glad it helped! Thanks for watching and the for the sub!
@aidakalantari6800
@aidakalantari6800 7 күн бұрын
Very clear explanation. Good job and thank you for sharing
@bouldy7
@bouldy7 2 ай бұрын
Thank you for the Countx Filter measure! Hero
@faizaa5476
@faizaa5476 5 ай бұрын
Such a good video, slowly starting to become a pro on power bi. THANK YOU SO MUCH!
@ibrahimburhankonuk
@ibrahimburhankonuk Жыл бұрын
Perfect explanation, worth to watch for every sec.
@matthewshotton86
@matthewshotton86 11 ай бұрын
Amazingly explained for the refresher I needed, thanks for all the great content!
@EMKworks
@EMKworks 3 жыл бұрын
Excellent layered 10 minute video, being able to see the table and the counted numbers on the one page seriously good idea. Well done!
@SolutionsAbroad
@SolutionsAbroad 3 жыл бұрын
Glad you liked it, thanks for watching!
@jevieacop
@jevieacop Жыл бұрын
Hey Fernan! Thanks for your videos, I've been following you for quite a while now and it helps me a lot in my work related projects. Are you a Filipino?
@wesleyharper3253
@wesleyharper3253 Жыл бұрын
Worked like a charm!
@SolutionsAbroad
@SolutionsAbroad Жыл бұрын
Fantastic great to hear!
@Devloper56
@Devloper56 2 жыл бұрын
Perfect and practical explanation about the count function !!! Thank you brother
@user-hz6gw3uk6z
@user-hz6gw3uk6z 6 ай бұрын
very clearly explained. Thank you!
@danielosorio217
@danielosorio217 Жыл бұрын
Excellent explanations! I'd like to know how to use the functions, particularly using CountX and CountAX to count "text" values (non Boolean) rather than numerical. I have a table with vendors/suppliers that deliver different parts. Some of the vendors deliver some of the same parts, so two vendors may have the same Part No.. Parts per vendor are marked as delivered Early, On-time, and Late. I want to count each of these three delivery statuses per part and vendor to then calculate the percentage of each delivery status per vendor out of the Grand Total of all deliveries and the percentage based on each delivery type/status. For now, this is the formula I came up with to count early deliveries: _CountX = COUNTAX(FILTER(Delivery, Delivery[Delivery Type] = Early()), Delivery[Delivery Type]) Thanks for your help!
@shyjumathew07
@shyjumathew07 5 ай бұрын
Good one, thanks
@1985mercedesbenz
@1985mercedesbenz 4 ай бұрын
thank so much
@mayanknema3007
@mayanknema3007 Жыл бұрын
Awesome explanation. You cant get better than this on this topic.
@aleksanderstrommer7677
@aleksanderstrommer7677 3 жыл бұрын
Great example!
@SolutionsAbroad
@SolutionsAbroad 3 жыл бұрын
Thank you!
@divyaparekh6721
@divyaparekh6721 3 жыл бұрын
you explain really well
@SolutionsAbroad
@SolutionsAbroad 3 жыл бұрын
thanks for watching!
@yonwabangwenze2251
@yonwabangwenze2251 3 жыл бұрын
This is really helpful. Thanks
@SolutionsAbroad
@SolutionsAbroad 3 жыл бұрын
Great stuff, thanks for checking it out!
@cazvon4346
@cazvon4346 Жыл бұрын
Clearly explained supported by simple visuals - makes learning less complicated. One question, why would you not use the COUNTA and COUNTAX functions all the time as they can handle numeric, text and binary strings? Is it a refresh performance issue? Thank you.
@gnavarrolema
@gnavarrolema 2 жыл бұрын
Great explanation...it is much clear to me how to use these functions. Thanks.
@SolutionsAbroad
@SolutionsAbroad 2 жыл бұрын
Glad it was helpful!
@jaybilakhia5695
@jaybilakhia5695 3 жыл бұрын
Just saved me >1 Hour Thanks
@SolutionsAbroad
@SolutionsAbroad 2 жыл бұрын
You're very welcome!
@natynt227
@natynt227 Жыл бұрын
just perfect tks sir
@thermant8452
@thermant8452 2 жыл бұрын
Good stuff! Thx!
@SolutionsAbroad
@SolutionsAbroad 2 жыл бұрын
Glad you liked it!
@faizanbhat2626
@faizanbhat2626 Жыл бұрын
count function calculates blank cells as well for me.
@tuncohighway7922
@tuncohighway7922 2 жыл бұрын
Excelent video sr!
@jbmh9339
@jbmh9339 Жыл бұрын
This is awesome! Your videos helps me a lot!
@Pasar2490
@Pasar2490 3 жыл бұрын
Great video! I have a question. Why if we want to count everything in the row except a specific value?
@SolutionsAbroad
@SolutionsAbroad 3 жыл бұрын
Hi Sara, if you want to count everything except a specific value, you'll need to use the CALCULATE function to apply a filter context to your count. From memory, I covered this in a previous video, check it out if you haven't yet kzfaq.info/get/bejne/idhjgsd2ktDcj2w.html Hope it helps!
@baastech7840
@baastech7840 2 жыл бұрын
perfect man
@SolutionsAbroad
@SolutionsAbroad 2 жыл бұрын
Thanks!
@great_filter
@great_filter 2 жыл бұрын
Thank you very much
@SolutionsAbroad
@SolutionsAbroad 2 жыл бұрын
You're welcome!
@gbolahanl4280
@gbolahanl4280 3 жыл бұрын
Thanks for the video. It is very helpful
@SolutionsAbroad
@SolutionsAbroad 3 жыл бұрын
You are welcome
@kennethstephani692
@kennethstephani692 3 жыл бұрын
Great video!
@SolutionsAbroad
@SolutionsAbroad 3 жыл бұрын
Thanks for watching!
@letthemknowuncle5399
@letthemknowuncle5399 Жыл бұрын
Amazing explanation 😁
@giridharnaidu3662
@giridharnaidu3662 2 жыл бұрын
What are the most common DAX functions used in power bi in real time.. Can u cover a video in this specific topic..
@SolutionsAbroad
@SolutionsAbroad 2 жыл бұрын
Hey there, thanks for watching! I covered my top 5 DAX functions here: kzfaq.info/get/bejne/p6xpmK573bqZcps.html
@chinmayjoshi977
@chinmayjoshi977 Жыл бұрын
thanks for the video! super helpful
@VeganSmasher
@VeganSmasher 3 жыл бұрын
Fantastic video. Thank you!
@SolutionsAbroad
@SolutionsAbroad 3 жыл бұрын
Glad you liked it!
@kayeiaramariedeocampo7980
@kayeiaramariedeocampo7980 3 жыл бұрын
Great Video! One question, what if I want to count the number of occurence of a specific Order ID?
@SolutionsAbroad
@SolutionsAbroad 3 жыл бұрын
Hi Kaye, great question! You might want to look at using "Group By" on your Order ID, this will give you a count of occurrences for each ID. Alternatively, you can also created a calculated column, maybe this will help: community.powerbi.com/t5/Developer/How-to-count-the-occurrences-of-each-value-in-a-column-including/td-p/151328
@kayeiaramariedeocampo7980
@kayeiaramariedeocampo7980 3 жыл бұрын
@@SolutionsAbroad Hi I tried but it keeps removing other columns. How can I retain the existing columns (that is part of the data set, but not a reference for the thing I'm counting) thereafter? For example, I tried creating a counter for a Record ID, after selecting the column, applying Group by, it does give me the column for counter, but deletes automatically the rest of my data set. Can't figure it out. huhu
@SolutionsAbroad
@SolutionsAbroad 3 жыл бұрын
@@kayeiaramariedeocampo7980 Hey Kaye, a quick, non-complicated solution is to just create a duplicate query of this one before the GROUP BY, then merge it back so you can get your other columns. The Group By has to exclude the other columns so it can be grouped by ID, hope it helps!
@kayeiaramariedeocampo7980
@kayeiaramariedeocampo7980 3 жыл бұрын
@@SolutionsAbroad Thanks!
@SolutionsAbroad
@SolutionsAbroad 3 жыл бұрын
@@kayeiaramariedeocampo7980 you're welcome, good luck!
@anino68
@anino68 Жыл бұрын
Great explanation.... Maybe you can help me with a matter, I need to count the codes of the clients that are repeated during different years. For example, customer 373 checked in 2020, 2021, 2022 = 3 unique times. Thanks for your help.
@MoonShine-bs6cl
@MoonShine-bs6cl 7 ай бұрын
Hi your teaching is great but how can i avail the pbix demo files which u have used in the videos for practice, please help.
@philipwatuma7120
@philipwatuma7120 3 жыл бұрын
Very useful thanks
@SolutionsAbroad
@SolutionsAbroad 3 жыл бұрын
You're welcome, thanks for watching!
@tllittle
@tllittle 2 жыл бұрын
Nice 👍🏽, new subscriber
@davidgitau8825
@davidgitau8825 2 жыл бұрын
MeasureName=CountRows(CalculateTable(Table, Filter1,filter2))--CalculateTable gives you an opportunity return a subset of the table, with rows that meets criteria specified in the filters. Then use countrows to get subset count,
@agapheputrasusilo741
@agapheputrasusilo741 5 ай бұрын
THANKSSSSSS
@alejandropatino9095
@alejandropatino9095 Жыл бұрын
Great!
@zhengsiyuan5695
@zhengsiyuan5695 3 жыл бұрын
Great Video! I have a question. How do you put your raw data table here.
@SolutionsAbroad
@SolutionsAbroad 3 жыл бұрын
Hi Zheng, great question! You need to use the "Get Data" option in the ribbon to import your data into Power BI. Hope that helps!
@user-cf8jx9tf2y
@user-cf8jx9tf2y 11 ай бұрын
Would you know how to count # of rows based on conditions on calculated measures? Measures are based on 2 different tables with one related column.
@DashMcunfast
@DashMcunfast 10 ай бұрын
How are you displaying the data table here? ... Are you just using the table visualisation?
@user-ht9ct4ih8p
@user-ht9ct4ih8p 8 ай бұрын
Why can't we apply the distinct value count to the card visual when I create as measure
@shikha_bebo29
@shikha_bebo29 2 жыл бұрын
Great video! What if both the columns I am evaluating in the expression “COUNTAX(FILTER(People, People[business_unit] > 1),People[IsManager])” are of text data types?
@SolutionsAbroad
@SolutionsAbroad 2 жыл бұрын
Hi Shikha, the count should work as long as the values are non blank
@PhillipLearnTeach
@PhillipLearnTeach 2 жыл бұрын
How do you make a measure or a calculated column that consist of a measure and certain values from a columns from either same table of separate table?
@SolutionsAbroad
@SolutionsAbroad 2 жыл бұрын
Hi Phillip, measures and calc columns are identical but not similar. Here's a video explaining how they're different: kzfaq.info/get/bejne/pNlkicWht7Gldqc.html Measures can reference columns or measures anywhere in the dataset Calculated columns is data within a table, if you want to reference columns from other tables, there has to be a relationship that connects those tables together, here's a video on relationships if it helps: kzfaq.info/get/bejne/hbWjYLmIy5iUdWw.html
@SivaPonakala
@SivaPonakala Жыл бұрын
Can we show count of null values against each column from a table in a single visualization .. I do not want to use countblank for each column individually.. please suggest
@BSITVinluanEner
@BSITVinluanEner 11 ай бұрын
Thanks Broooo , loveit
@SivaPonakala
@SivaPonakala Жыл бұрын
how can I show number of null values in each column from a table at a time in a table or matrix visual ? is there a way, Please suggest. ..
@jermainecameron6209
@jermainecameron6209 3 жыл бұрын
How can we count distinct values with expression filters like you did with the countx
@SolutionsAbroad
@SolutionsAbroad 3 жыл бұрын
Hi Jermaine, for that you will have to use a combination of DISTINCT COUNT and FILTER, here's an article that covers that community.powerbi.com/t5/Desktop/Distinct-countx/td-p/154867
@jermainecameron6209
@jermainecameron6209 3 жыл бұрын
@@SolutionsAbroad thank you so much, it worked perfectly
@DiCh-jp8ms
@DiCh-jp8ms Жыл бұрын
Hi i can`t fiure out a problem with counting. I have a table with 5 names of people that are repeated multiple times in the table and next to this column i have another one with a status "Yes" or a blank cell. I want to count only the times that a name apears with a status yes. For example i have John repeated 5 times, 3 of which are with status yes and David repeated 3 times and 2 times are with statu yes. I want to make a table in which to show the names and how many times they have status Yes.
@ToniaLNewton
@ToniaLNewton Жыл бұрын
How does one count how many time a certain value is in that column. As in how many times 10 is listed. I can't get it to work for NPS.
@amirbitan
@amirbitan 3 жыл бұрын
Great video. I have this problem: how to create a measure that counts how many specific values appear in one column when the values in another column is not unique column 1 column 2 a 1 b 2 a 3 a 1 b 4 a 5 b 6 the answer I expect to get is 3 not 4 Thanks
@SolutionsAbroad
@SolutionsAbroad 3 жыл бұрын
Hi Amir, it sounds like you need to use the "Keep Duplicates" functionality in Power Query. Then from there you can either just do a count/countdistinct or do a "Remove Duplicates". Hope that helps!
@vipulgoel4156
@vipulgoel4156 3 жыл бұрын
How to count the number of times a text value appears in a column?
@SolutionsAbroad
@SolutionsAbroad 3 жыл бұрын
You might need to do a countif alternative in DAX to do this: www.goodly.co.in/countif-power-bi-dax/
@EngineeredFoodies
@EngineeredFoodies 2 жыл бұрын
Hi I am facing issues in the distinct count. When i use column distribution in power bi query editor the value of distinct count is right. But when I tried to calculate the same value for the same column in power bi desktop the value was different. Need your support.
@nehatalwar7567
@nehatalwar7567 3 жыл бұрын
I am confused,I see count is taking blank value for me. Is that count takes blank value as well.
@SolutionsAbroad
@SolutionsAbroad 3 жыл бұрын
Hi great question! Blank values are skipped docs.microsoft.com/en-us/dax/count-function-dax
@jackjohnshei8374
@jackjohnshei8374 2 жыл бұрын
hi i am using distinct count in excel ,how to exclude blank cells from pivot table.because blank cells value here showing as 1.
@SolutionsAbroad
@SolutionsAbroad 2 жыл бұрын
Hi Shane, I gotta be honest I'm not too familiar with Power Pivot. Can you not add an implicit filter to exclude blanks or N/A?
@user-ht9ct4ih8p
@user-ht9ct4ih8p 8 ай бұрын
How to display the row count to each record
@abdulqadeerkamangar6279
@abdulqadeerkamangar6279 3 жыл бұрын
How can we select top 3 products or countries based on count (product and countries separate columns)?
@SolutionsAbroad
@SolutionsAbroad 3 жыл бұрын
Hey there, I covered that topic in this video: kzfaq.info/get/bejne/rNZ3dMlns9HYYYU.html
@manuelboadi1343
@manuelboadi1343 Жыл бұрын
Please I want to write a measure that counts the most occurring number in a column
@sathyanague3329
@sathyanague3329 Жыл бұрын
Hi, I had one doubt in Power BI. I have made one measure (consider Measure 1) on distinct count for respective column which is fine. Similarly I need to pick another column based on this measure 1 which has both values and numerics. How could be done, Sir. UNIQ ID RANGES 077GGG 1 077GGG 1 077GGG 1 078GGG null 078GGG null 079GGG 5 079GGG 5 079GGG 5 079GGG 5 079GGG 5 080GGG 1 080GGG 1 081GGG null 081GGG null 081GGG null In UNIQ ID column. I have used measure as distinct count and in card i will be getting 5 count On the RANGES column, when I use card, I need to get 3 count -----> stating like avoiding the nulls and getting 1 for 077GGG 5 for 079GGG 1 for 080GGG Could u pls help on this, Sir?
@openuni7809
@openuni7809 2 жыл бұрын
also DITINCTCOUNTNOBLANK - To avoid the blank one (:
@leslieliew5712
@leslieliew5712 2 жыл бұрын
I have 37 bathrooms…How can I calculate the percentage of bathrooms that are cleaned twice a day at each location?
@rajm5349
@rajm5349 2 жыл бұрын
can u xplain any project
@allaboutfoodzbydebd8627
@allaboutfoodzbydebd8627 3 жыл бұрын
awesom
@SolutionsAbroad
@SolutionsAbroad 3 жыл бұрын
Thank you!
@almyvblog7989
@almyvblog7989 2 жыл бұрын
Please make a video connecting Power Bi to Mongodb
@jaitiwari241
@jaitiwari241 2 жыл бұрын
Please share dataset
@arunkumarramachandran5647
@arunkumarramachandran5647 2 жыл бұрын
The letters are not clear , pls zoom the formula bar .
@MS-xg4ep
@MS-xg4ep Жыл бұрын
Somehow the COUNT also counts the ZEROs in a row? Why is that the case?
@mivanows
@mivanows Жыл бұрын
Please help! I want to replicate the same result in Powerquery. Here is the example in Excel: 56 77 46 3 ->formula =COUNT(A1:C1) 33 54 2 ->formula =COUNT(A2:C2) Note that the A2 is [empty] - the count result is as expected (=2) I can't find a way to replicate it in Powerquery. Powerquery returns 3 - it is considering the empty as [NULL] and counting - the result is =3, but it should be =2.
@khalidmajeed2886
@khalidmajeed2886 Жыл бұрын
why y cant make it in zoom it is tiny
@gintomino4136
@gintomino4136 2 жыл бұрын
so countx and countax are like calculate with count, interesting
@SolutionsAbroad
@SolutionsAbroad 2 жыл бұрын
Something like that, they are iterators and basically allows you to add extra filter context, similar to calculate!
@Phoenixspin
@Phoenixspin 3 жыл бұрын
I learned to count in kindergarten.
@jlcanada6912
@jlcanada6912 Жыл бұрын
Dude! Speak way too fast!
@umagbaalex1624
@umagbaalex1624 2 жыл бұрын
Thanks, Fernan for your videos. Very helpful to me. How do I connect to you on Linkedln
📊 How to use Power BI DAX - Tutorial
37:28
Kevin Stratvert
Рет қаралды 1,1 МЛН
Glow Stick Secret Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 8 МЛН
This Dumbbell Is Impossible To Lift!
01:00
Stokes Twins
Рет қаралды 36 МЛН
Can This Bubble Save My Life? 😱
00:55
Topper Guild
Рет қаралды 86 МЛН
Schoolboy Runaway в реальной жизни🤣@onLI_gAmeS
00:31
МишАня
Рет қаралды 4 МЛН
SLICERS done Differently | Power BI
17:07
How to Power BI
Рет қаралды 180 М.
This is how I ACTUALLY analyze data using Excel
24:05
Mo Chen
Рет қаралды 168 М.
No More DAX? Power BI’s NEW Feature Explained (File Included)
7:30
MyOnlineTrainingHub
Рет қаралды 97 М.
How To Create these useful Power Bi Visuals that Excel Lacks
10:55
Leila Gharani
Рет қаралды 454 М.
PowerBI -  How to count duplicate values
6:57
JiFacts
Рет қаралды 33 М.
KPI Visual Ideas in Power BI
13:37
Data Pears
Рет қаралды 206 М.
Glow Stick Secret Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 8 МЛН