Тёмный

End-to-End DAX Tutorial | Power Bi | COALESCE function | KSR Datavizon | DAX Studio 

KSR Datavizon
Подписаться 107 тыс.
Просмотров 2,3 тыс.
50% 1

The #COALESCE function in DAX (Data Analysis Expressions) is used to return the first non-blank value in a list of expressions. It takes multiple expressions as arguments and evaluates them in order from left to right, returning the first expression that is not blank or empty.
The syntax of the COALESCE function is as follows:
COALESCE(expression1, expression2, ...)
Suppose you have a table called "Sales" with columns "Region", "Sales1", and "Sales2". You want to create a new column called "Total Sales" that adds up the sales from both columns, but you want to use the non-blank value from either "Sales1" or "Sales2" if one of them is blank.
Here's how you can do it using the COALESCE function:
Total Sales = COALESCE(Sales[Sales1], Sales[Sales2])
In this example, the COALESCE function will evaluate the expression Sales[Sales1] first, and if it is not blank, it will return that value. Otherwise, it will evaluate the expression Sales[Sales2] and return that value if it is not blank. If both expressions are blank, the COALESCE function will return a blank value.
How are we different from Others...?
1. 24*7 Recorded sessions Access & Support
2. Flexible Class Schedule
3. 100 % Job Guarantee & 100 % Live Training
4. Mentors with +14 yrs. & Free Microsoft License
6. LMS And APP Availability for a Good live session experience.
7. Soft Skills I Email Etiquette I Client/Stakeholders Handling Techniques.
Call us on IND: 8951796123 to talk to our Course Advisors
👉Please ping on WhatsApp:- wa.me/918951796123
#DAX #DataAnalysis #DataVisualization #PowerBI #DataModeling #DataAnalysis #DataVisualization #BusinessIntelligence #Measure #CalculatedColumn #DAX #PowerBI #PowerPivot #DataAnalysis #powerbi
#dax #bi #powerbidesktop #powerbiforbeginners #powerbitutorialforbeginners #variables #powerbiinterviewquestions

Опубликовано:

 

8 май 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@user-od5fq9kq8e
@user-od5fq9kq8e 29 дней назад
Nicely Explained
@4nxh___
@4nxh___ Год назад
Well articulated.
@venky6176
@venky6176 Год назад
Excellent explanation
@biswadeepsahoo
@biswadeepsahoo Год назад
Good explanation
@dilipinamdar5523
@dilipinamdar5523 Год назад
Nice One!!!
@abchj123
@abchj123 Год назад
Power bi videos will come up with kannada language its very useful sir.
@KSRDatavizon
@KSRDatavizon 11 месяцев назад
We will try, please subscribe our channel,
@rrr9110
@rrr9110 Год назад
please confirm if the blank values is replaced by 0 in query editor, will coalesce function is required in that scenario?
@srinup-tg6nv
@srinup-tg6nv Год назад
you can do that way as well
@KSRDatavizon
@KSRDatavizon 11 месяцев назад
yes you can
@prudhviraj78
@prudhviraj78 Год назад
👏🏻👏🏻👏🏻 nice explanation ma’am
@KSRDatavizon
@KSRDatavizon 11 месяцев назад
Thanks a lot 😊
@jacejohnson2349
@jacejohnson2349 10 месяцев назад
I love using COALESCE in most of my measures. Especially when I'm displaying those measures in a card visual. However, when I display these measures in a matrix or table, it doesn't seem to let me filter rows out that shouldn't be there. For example, I have a table that displays all the communities in all of our multiple real estate portfolios. When I filter on portfolio, it should remove many communities that don't belong to that portfolio. But, because of me using COALESCE, it still leaves them on the table but just zero's out all of the measures. Any solution to this?
@KSRDatavizon
@KSRDatavizon 4 месяца назад
Thank you for sharing your experience with using COALESCE in your measures. It's great to hear how you're utilizing it in different visuals and scenarios.
@01Ashish01
@01Ashish01 Год назад
next video
@KSRDatavizon
@KSRDatavizon 11 месяцев назад
will upload soon , please subscribe our channel for regular updates.
Далее
Документы для озокомления😂
00:24
What is DAX?
17:48
Просмотров 39 тыс.
Create insightful calculations using CONCATENATEX.
12:27
How to Get Started with Power BI
54:12
Просмотров 81 тыс.
Blank row in DAX
12:55
Просмотров 44 тыс.