DAX Fridays!

  Рет қаралды 6,489

Curbal

Curbal

Күн бұрын

In todays video I will show you how to recreate the financial times graph in power bi where they compare the spread of confirmed cases after the countries hit their first 100 cases.
We will do the calculation using DAX and will plot the graph in Power BI.
Link to FT article: www.ft.com/con...
Link to how to get the data video: • How to import csv file...
The file is available for download in the download center - Community downloads number 56 or dax fridays 166. Please, use this dataset responsibly!!
Here you can download all the pbix files: curbal.com/don...
Get Northwind Dataset: • Northwind data source:...
Link to DAX Fridays survey: bit.ly/2MMM4KK
Here you can download all the pbix files: curbal.com/don...
SUBSCRIBE to learn more about Power and Excel BI!
/ @curbalen
☼☼☼☼☼☼☼☼☼☼
POWER BI COURSES:
Want to learn Power BI? How about you take one of our courses? Here you can find the available courses:
curbal.com/cou...
☼☼☼☼☼☼☼☼☼☼
ABOUT CURBAL:
Website: www.curbal.com
Contact us: www.curbal.com/...
▼▼▼▼▼▼▼▼▼▼
If you feel that any of the videos, downloads, blog posts that I have created have been useful to you and you want to help me keep on going, here you can do a small donation to support my work and keep the channel running:
curbal.com/pro...
Many thanks in advance!Here you can download all the pbix files: curbal.com/don...
▲▲▲▲▲▲▲▲▲▲
Our PLAYLISTS:
- Join our DAX Fridays! Series: goo.gl/FtUWUX
- Power BI dashboards for beginners: goo.gl/9YzyDP
- Power BI Tips & Tricks: goo.gl/H6kUbP
- Power Bi and Google Analytics: goo.gl/ZNsY8l
************
************
QUESTIONS? COMMENTS? SUGGESTIONS? You’ll find me here:
Linkedin ► goo.gl/3VW6Ky
Twitter ► @curbalen, @ruthpozuelo
Facebook ► goo.gl/bME2sB
#daxfridays #curbal #SUBSCRIBE

Пікірлер: 61
@darraghftown1
@darraghftown1 4 жыл бұрын
really like the table you have during the video that displays the logic you are using Country, Date and Cases. Makes it easier to understand and to follow. :) thank you
@CurbalEN
@CurbalEN 4 жыл бұрын
Yes, I should do it on all videos, but sometimes time constraints prevent me from editing that way. /Ruth
@Cedar2255
@Cedar2255 4 жыл бұрын
Thank you. Ruth. I learned a lot about how to use filter and functions as well as data handling tips. very useful and handy. Hope you stay healthy and see you again soon!
@CurbalEN
@CurbalEN 4 жыл бұрын
Stay safe too! /Ruth
@EricaDyson
@EricaDyson 4 жыл бұрын
Yes, plotted different types of countries yet they all have similar trajectories. From cloudy Israel (in lock down)! Good job I have you, Ruth, to help me as I switch between knitting, Power Bi, and Adobe graphic design:-)
@CurbalEN
@CurbalEN 4 жыл бұрын
Yes, we all need to help out to decrease the pressure on hospitals and healthcare facilities. Stay safe Erica! /Ruth
@KawanExcel
@KawanExcel 4 жыл бұрын
Thanks Ruth... Curbal Always inspire me...
@qianzhang8692
@qianzhang8692 4 жыл бұрын
Thanks Ruth!
@CurbalEN
@CurbalEN 4 жыл бұрын
My pleasure Quian! /Ruth
@JK-ig2pp
@JK-ig2pp 4 жыл бұрын
Your videos are very necessary, therefore, besides PowerBI, I am now learning English ))
@CurbalEN
@CurbalEN 4 жыл бұрын
Double gain! Stay safe and enjoy the weekend! /Ruth
@markgoode9897
@markgoode9897 4 жыл бұрын
Thanks Ruth. Timely and useful as always :)
@CurbalEN
@CurbalEN 4 жыл бұрын
Enjoy your weekend and stay safe! /Ruth
@josepromero1452
@josepromero1452 4 жыл бұрын
Hi Ruth, another interesting chart and KPI would be: increment of cases related with previous day. It also requires EARLIER function. For China, the trend line slope for this KPI is negative while for Spain and Italy is still positive.
@CurbalEN
@CurbalEN 4 жыл бұрын
It definitely is, I am going to do a weighted comparison of confirmed cases first and then your metric, thanks! /Ruth
@josepromero1452
@josepromero1452 4 жыл бұрын
@@CurbalEN I already saw the video... GREAT!!
@CurbalEN
@CurbalEN 4 жыл бұрын
@@josepromero1452 oh, I thought you meant something else, great! /Ruth
@BryanCollins1
@BryanCollins1 4 жыл бұрын
Thanks for this one! I was trying to do something else with Covid data that I can't manage to accomplish. It's a super interesting chart which plots total confirmed cases on the Y and new cases on the X, both Log scales. The trouble is there is no line chart I'm aware of on Power BI that will allow you to place a measure on both axes, and I'm not having much luck making these as calculated columns. Appreciate any guidance if you can! Many thanks
@totvabe1
@totvabe1 4 жыл бұрын
¡Estupendo Ruth!
@CurbalEN
@CurbalEN 4 жыл бұрын
👏👏👏
@dirksmeyers877
@dirksmeyers877 4 жыл бұрын
Thanks Ruth, very usefull!
@CurbalEN
@CurbalEN 4 жыл бұрын
Stay safe and inside! /Ruth
@NaraMeerammaTrust
@NaraMeerammaTrust 4 жыл бұрын
Hi Ruth, I wanted to make it a dynamic to select the number instead of static number 100. I created a parameter using what if parameter.It is throwing error as we created a calculated column instead of calculated measure. I tried to create a measure, but it is throwing error as we have used earlier function in the code. Can you please direct me to have a parameter to work dynamically. Appreciate your help and response on it.
@CurbalEN
@CurbalEN 4 жыл бұрын
Mmmm, you can not change the 100 with the selected value measure? /Ruth
@NaraMeerammaTrust
@NaraMeerammaTrust 4 жыл бұрын
@@CurbalEN Is there any other way to achieve it?
@NaraMeerammaTrust
@NaraMeerammaTrust 4 жыл бұрын
It would be really helpful if we could make it dynamic. Let me know if we can do it by any other means. Is there a alternative way for Earlier function to achieve the same result so that i can create a measure instead of column
@denismcsweeney187
@denismcsweeney187 4 жыл бұрын
@@NaraMeerammaTrust Hi Venkatesh, try the measure below . It allows for a parameter to be used for selecting the number of cases reached and also for selecting a cut-off date. Days Since Cases Reached = VAR Country = SELECTEDVALUE(Location[Country/Region]) VAR CutOffDate = MAX('COVID-19 Cases'[Date] ) VAR CountryCases = SUMMARIZE( ALL('COVID-19 Cases'), Location[Country/Region], 'COVID-19 Cases'[Date], "Country Cases", SUM('COVID-19 Cases'[Confirmed]) ) VAR ReachedValueDate = CALCULATE( MIN( 'COVID-19 Cases'[Date] ), ALL('Calendar'), FILTER( CountryCases, [Country Cases] >= [CasesReached Value] && Location[Country/Region] = Country && 'COVID-19 Cases'[Date]
@NaraMeerammaTrust
@NaraMeerammaTrust 4 жыл бұрын
@@denismcsweeney187 Thanks a lot Denis. Let me try with it. Thanks for your time.
@powerbinareal
@powerbinareal 4 жыл бұрын
Valeu Ruth.....Urra!!!!!!
@CurbalEN
@CurbalEN 4 жыл бұрын
🥳🥳🥳 /Ruth
@powerbinareal
@powerbinareal 4 жыл бұрын
@@CurbalEN vc é show....
@adilmajeed8439
@adilmajeed8439 4 жыл бұрын
how to pass a parameter in DAX while creating a calculated column (100th cases) in DAX, for example like 100 or 200 etc?
@nagaray120
@nagaray120 4 жыл бұрын
Hola Ruth, muchas gracias por tus videos. Has notado algo extraño con la información? Los "recovered cases" en Estados Unidos no es cumulativo como si son "confirmed cases" or "deaths". Lo extraño es que cuando miro los "recovered cases" en otro país como China, los casos si son cumulativos... Te agradezco cualquier ayuda
@CurbalEN
@CurbalEN 4 жыл бұрын
No he revisado los datos de estados unidos, si encuentras anomalías puedes notificar a los autores en github y ellos te dirán. /Ruth
@felipeturinofelipe6943
@felipeturinofelipe6943 4 жыл бұрын
Tks, I`m from Brazil, here there are a lot of people who are not being tested, big trouble.
@CurbalEN
@CurbalEN 4 жыл бұрын
Stay home and isolate yourself, that will make a difference if we all do it. Take care and stay safe!!!! /Ruth
@javialpe
@javialpe 4 жыл бұрын
Hi Ruth, i have a column With Cases ( numeric ) and another with Cases Names (like Confirmed, Death, Recovered). How i can do the filter >100?.
@CurbalEN
@CurbalEN 4 жыл бұрын
Just add to the 100 filter , overall cases [type] =" confirmed" That will filter out all other types. /Ruth
@miltinhocamo3754
@miltinhocamo3754 4 жыл бұрын
Hola Ruth... estupendos vídeos, como siempre. Una ayuda. Creé el parámetro para dinamizar de 100 en 100 pero me da error. Indica que no acepta un valor booleano. Lo incluí dentro de un FILTER pero solo calcula el dato dejado por defecto del SELECTEDVALUE de la medida que se crea automáticamente. Que estaré haciendo mal?. De antemano mis agradecimiento.
@CurbalEN
@CurbalEN 4 жыл бұрын
I forgot that it was a calculated column. You can only use parameters in measures, sorry!
@miltinhocamo3754
@miltinhocamo3754 4 жыл бұрын
@@CurbalEN Ok Ruth. Gracias. No lo sabía.
@kealkil4
@kealkil4 4 жыл бұрын
What are the implications for storing the Date of 100th Case on the Location table? Will it create more complications than it will solve?
@CurbalEN
@CurbalEN 4 жыл бұрын
Calculated columns has its drawbacks, checking out here: m.kzbin.info/www/bejne/paLGiI2OrZxjp9U /Ruth
@victorarayal
@victorarayal 4 жыл бұрын
Ruth, conoces alguna forma de agregar el país como etiqueta en el último punto gráfico de lineas? (como se ve en el ejemplo)
@CurbalEN
@CurbalEN 4 жыл бұрын
Intente hacerlo con charticulator pero solo funciona si todos días acaban en el mismo día:( No se de otra manera... /Ruth
@jaimemolina1777
@jaimemolina1777 4 жыл бұрын
Is this data accurate? If i create a table with Cases confirmed and Location the numbers seem off. For example, it says that China has 2,623,685 cases.
@CurbalEN
@CurbalEN 4 жыл бұрын
Yes, but the data is accumulated. Next week I will show you how to create a new cases column where you can sum. /Ruth
@haarmartins
@haarmartins 4 жыл бұрын
Hi Ruth. I tried to publish the report for powerbi services, and although the visualization works on the desktop it is blank in services. The strangest thing is that if I download the pbix file from services and open it on the desktop it works. Can you help?
@CurbalEN
@CurbalEN 4 жыл бұрын
Is is a simple line chart, so it should work...can you delete it and try again? /Ruth
@haarmartins
@haarmartins 4 жыл бұрын
@@CurbalEN I managed to get the visualization to work, going to Power BI Services, editing the report, editing the visualization and in the Axis variable I changed it to "Show items with no data". Then I changed the start of the Y axis to 100. This makes sense? I had already deleted and tried again.
@CurbalEN
@CurbalEN 4 жыл бұрын
@@haarmartins not really it should just show... Maybe a temporary bug? /Ruth
@haarmartins
@haarmartins 4 жыл бұрын
@@CurbalEN Well, it's working and you can check it at: bit.ly/2xxK56s
@DanielTavares29
@DanielTavares29 4 жыл бұрын
Hey Curbal !! i really like your videos ... and this was one of my favorites .. This topic (covid19) will be in your life for the next few days, unfortunately = / What I want to suggest for your channel is to do a deeper analysis with this data from the git hub .. show us how to recruit these measures from johns hopkins university coronavirus.jhu.edu/data (since we already have the data !!! hahahaha) That would be fantastic ... thanks for sharing your knowledge with us!
@InkyPhys
@InkyPhys 4 жыл бұрын
Datediff() negatives!
@CurbalEN
@CurbalEN 4 жыл бұрын
Make sure you put the start and end dates in the right position. /Ruth
@InkyPhys
@InkyPhys 4 жыл бұрын
Yes, previously would throw an error. Likely still does on power pivot.
DAX Fridays! #78: When should I use FILTER() with CALCULATE?
11:35
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 15 МЛН
Шок. Никокадо Авокадо похудел на 110 кг
00:44
小丑在游泳池做什么#short #angel #clown
00:13
Super Beauty team
Рет қаралды 36 МЛН
🚨 YOU'RE VISUALIZING YOUR DATA WRONG. And Here's Why...
17:11
Adam Finer - Learn BI Online
Рет қаралды 147 М.
Normalizing data: The what, why and how
11:08
Curbal
Рет қаралды 31 М.
DAX Fridays! #167: Calculate previous row using DAX
8:56
Curbal
Рет қаралды 26 М.
DAX Fridays! #145: SUMMARIZECOLUMS
11:15
Curbal
Рет қаралды 41 М.
Top 5 Awesome Power BI Visuals You Probably Didn't Know
10:39
Kenji Explains
Рет қаралды 91 М.
Power Query - Avoid "Helper Queries" (+10 Cool Tricks)
18:40
The ULTIMATE Slicer Panel in Power BI
36:15
How to Power BI
Рет қаралды 203 М.
DAX Fridays! #77: GROUPBY, CURRENTGROUP
12:27
Curbal
Рет қаралды 52 М.