DAX Fridays! #32: FORMAT

  Рет қаралды 21,188

Curbal

Curbal

Күн бұрын

Пікірлер: 60
@RobertoStaltari
@RobertoStaltari 7 жыл бұрын
These videos are little gems! Thanks Ruth
@supersayan9888
@supersayan9888 4 жыл бұрын
Hi Ruth, Thank you so much for sharing these videos. I did not know the possibilites with the Format function. So just learned something new today. I am on my way to view the next video :D.
@CurbalEN
@CurbalEN 4 жыл бұрын
Perfect! Glad ir was useful!
@CesarCavalli
@CesarCavalli 6 жыл бұрын
Muchisimas gracias, como cada video donde se aprende tanto en todo lo que enseñas . Te agradezco mucho.
@CurbalEN
@CurbalEN 6 жыл бұрын
Muchas gracias a ti por el feedback y buen fin de semana! /Ruth
@CesarCavalli
@CesarCavalli 6 жыл бұрын
@@CurbalEN buen finde para ti también! 🦋
@horizon3919
@horizon3919 5 жыл бұрын
You are making our life easy with the KT. Thanks!
@CurbalEN
@CurbalEN 5 жыл бұрын
My pleasure! /Ruth
@NorbertoVeraReatigaNVR
@NorbertoVeraReatigaNVR 7 жыл бұрын
Gracias Ruth, excelente detalle de la función, cada set de datos trae sus propias particularidades y con este variado ejemplo nos da la herramienta para resolver cada caso...
@CurbalEN
@CurbalEN 7 жыл бұрын
+Norberto Vera Reatiga De nada Norberto! Ahora utilizo el archivo pbix para ver cómo formatear mis fórmulas , en vez de usar la documentation, más rápido! :) Saludos! /Ruth
@lydiaaidyl3328
@lydiaaidyl3328 5 жыл бұрын
Your videos are always there to save my day!
@CurbalEN
@CurbalEN 5 жыл бұрын
Yey 🎉🎉 /Ruth
@SmartBimson
@SmartBimson 7 жыл бұрын
Very interesting and helpful video ! Thanks Ruth ! Have a great weekend 👍🏻🎉🌞🌞🌞🌞🌞
@CurbalEN
@CurbalEN 7 жыл бұрын
+SmartBimson Have a great weekend too Andy 🏝!
@SmartBimson
@SmartBimson 7 жыл бұрын
Will be more 🏌🏼with a lot of 🌞 ... spring is coming !
@CurbalEN
@CurbalEN 7 жыл бұрын
+SmartBimson Not here...yet... so enjoy it for me! 😄 /Ruth
@Victor-ol1lo
@Victor-ol1lo 7 жыл бұрын
As always great video Ruth !! I really had no idea what FORMAT is able to manage, as my usage was limited to dates. Thanks a lot. Thumbs Up !!
@CurbalEN
@CurbalEN 7 жыл бұрын
+Victor Friesen Thanks Viktor! Have a great weekend :) /Ruth
@armenia670
@armenia670 2 жыл бұрын
Thank you so much, you finish well my weekend 😀
@CurbalEN
@CurbalEN 2 жыл бұрын
Excellent 👌
@messinaalejandro
@messinaalejandro 7 жыл бұрын
From Argentina congratulations excellent videos
@CurbalEN
@CurbalEN 7 жыл бұрын
+Alejandro G. Messina Hola Alejandro, Muchas gracias y buen fin de semana! :) /Ruth
@TheAalouis
@TheAalouis 7 жыл бұрын
Hi Ruth, great video (as always). One problem though: If you use a dynamic chart (to show different measures via Measure Selection) and the measures should have different formats (%, Currency and 0,0 e.g.), you can't use format because the format of Mesure selection switches to text. Measure Selection = SWITCH( TRUE(); VALUES('Measure Dimensions'[Measure]) = "Umsatz je Tech & Tag"; [Umsatz je Tech & Tag]; VALUES('Measure Dimensions'[Measure]) = "Utilization"; FORMAT([Utilization];"0,0"); VALUES('Measure Dimensions'[Measure]) = "Einsätze je Tech & Tag"; [# Einsätze je Tech & Tag]; BLANK()) Without format it works, with format the chart doesn't show anything. Maybe you know a solution. This could be interesting for a lot of users, I think. KR Alex
@CurbalEN
@CurbalEN 7 жыл бұрын
+TheAalouis Hi Alex! Yes, i have this issue too, but I havent found a solution for it yet... Maybe somebody else here knows? /Ruth
@MicahandModesta
@MicahandModesta 6 жыл бұрын
Fantastic! Didn't know you could customise. I am wondering, is it at all possible to do the same to give conditional formatting to an Axis that is going off a calculation and not a category? I cannot figure that out! E.g. when a % is picked on a slicer, we see %s going up the y axis and if $ is picked, we see $... up the axis. I've tried using something like the following ($amount and %amount has already been formatted, but still doesn't work either way!) Working, but only as a number (e.g 60k for $ or 0.5 for %): total = switch(true(), test 1 = "$", format(sum($amount)), test1 = "%", format(sum(%amount)), Error, but attempting to force a custom format: total = switch(true(), test 1 = "$", format(sum($amount), "$#,##k"), test1 = "%", format(sum(%amount), "0.0%"
@CurbalEN
@CurbalEN 6 жыл бұрын
Your comment got spammed (code is not allowed by youtube). /Ruth
@ShripalOswal17
@ShripalOswal17 4 жыл бұрын
Thank You !! This was very useful :)
@lisapoppenhouse6663
@lisapoppenhouse6663 7 жыл бұрын
Thanks Ruth! By the way have you ever heard of a PBI pro creating a 100 year date table with every possible date format option included and then saving the report as a template and making it available to the public?
@CurbalEN
@CurbalEN 7 жыл бұрын
+Dave Poppenhouse Hi Dave, No I haven't, is that something you need to do? In the old Microsoft marketplace there was a service to pull calendars with a lot of regional settings from different countries, but not in the extent you require! /Ruth
@kasturi2666
@kasturi2666 7 жыл бұрын
Hi Ruth, Can I use FORMAT to format numbers in scientific notation to convert to a standard format?
@CurbalEN
@CurbalEN 7 жыл бұрын
+Kasturi G If you are asking, does it mean that it didn’t work when you tried? I would say yes, but I haven’t tried it myself. /Ruth
@kasturi2666
@kasturi2666 7 жыл бұрын
Yes, I tried it but it didn't work. Is there any other way to achieve it?
@leyshonrr
@leyshonrr 6 жыл бұрын
Great video, I used it to include B for billions too. My follow up question would be - once the units are formatted into K and M, you now have a character in the data. This is no longer an integer type. Is there a work around here? I'd love to use this newly created column in my charts to show B, M and K.
@CurbalEN
@CurbalEN 6 жыл бұрын
Not that I know of... you need to convert it to a a number and then change the data format so it displays K, M or B, but check in the power bi community to see if somebody knows how :) /Ruth
@leyshonrr
@leyshonrr 6 жыл бұрын
@@CurbalEN Thanks Ruth!
@ahmedal-dossary4386
@ahmedal-dossary4386 4 жыл бұрын
Very useful as always. Can built-in number formatting from visual section be changed? It will not be practical to change all dax with format function. For example, change million from ‘M’ to ‘MM’ and thousands from ‘K’ to ‘M’.
@nipunavidanapathirana4968
@nipunavidanapathirana4968 4 жыл бұрын
Thank you so much for all your videos! This was very useful! However, I am using SWITCH function with FORMAT on a dynamic table. Since this convert numbers to TEXT, I cannot sort numbers in columns. They sort from either 1-9 or 9-1as text. Is there anyway to sort them as a value? I really appreciate and ideas or tricks! Thank you!
@kartickumar638
@kartickumar638 6 жыл бұрын
HI Ruth, I am trying to format a number to currency (currcolumn = FORMAT((CalculatenRank[Sales]),"Currency") , but does this convert number to TEXT ? Output of above calculation is not getting aggregated. Thanks for video n all help !!
@CurbalEN
@CurbalEN 6 жыл бұрын
I am afraid that is what it does... the other option is changing the data type to currency. /Ruth
@kartickumar638
@kartickumar638 6 жыл бұрын
Curbal Is that a expected behavior of format function in the way to convert to currency ? (currcolumn = FORMAT((CalculatenRank[Sales]),"Currency")
@CurbalEN
@CurbalEN 6 жыл бұрын
Change the data type instead, it will keep the original setting. /Ruth
@kartickumar638
@kartickumar638 6 жыл бұрын
Curbal Thanks alot for quick reply. Even if i change the data , its still remain the text .
@kartickumar638
@kartickumar638 6 жыл бұрын
Millions&Thousands = SWITCH(TRUE(), [Custom Numeric]>=1000000, FORMAT([Custom Numeric], "#,##0,,M"), [Custom Numeric]>=1000, FORMAT([Custom Numeric], "#,##0,k"), FORMAT([Custom Numeric], "0")) even this convert the number to text ...
@manishrathor9209
@manishrathor9209 6 жыл бұрын
Hello i have a question that i have a record in which there is some of negative values and some positive and i create some calculated measure so i got a correct result but some of value is negative and some of positive so i want all the value in positive in measure so which function or how can i got all value are positive in measure so i can show in a visual positive records through a measure.
@MrAmitkhanduri1
@MrAmitkhanduri1 5 жыл бұрын
Hello curbal, I've a question if we've a value 27065347 the how we show the time like 7518:09:07 However I got answer in Excel but the [h]:mm:ss formatting not work in power bi please answer me asap.
@CurbalEN
@CurbalEN 5 жыл бұрын
Hi Amit, can you please post in the power bi community? Thanks! /Ruth
@MrAmitkhanduri1
@MrAmitkhanduri1 5 жыл бұрын
sorry curbal i don't have the login credentials for that
@davemcdonald5170
@davemcdonald5170 4 жыл бұрын
Hi Ruth, Is there a way to get hours greater than 24 using format [H]:MM like in excel
@jagadeeshpinninti
@jagadeeshpinninti 3 жыл бұрын
Is it possible to achieve number in India format like 26,35,76,83,635
@nileshchouhan3777
@nileshchouhan3777 5 жыл бұрын
For Date field we don't have enough formatting. I need to format date field like - MMM-yyyy e.g - Jan-2019 Power BI does not support this type of formatting. Is there any other way to achieve it.
@CurbalEN
@CurbalEN 5 жыл бұрын
Hi Nilesh, FORMAT can do the same as excel can do, use the same syntax! /Ruth
@nileshchouhan3777
@nileshchouhan3777 5 жыл бұрын
Hi @@CurbalEN, I tried it. but it is converted into text format, not in date format. DAX Expression : my_date = format([Date],"MMM-yyyy") output coming : Jan-2019 When I apply to sort on this field. It will sort in alphabetically order. Apr,Aug.... Regards, Nilesh Chouhan
@craigdormire7261
@craigdormire7261 4 жыл бұрын
Hi, thanks for the video. I learned a couple things. However, I'm having troubles in my use case where PBI/DAX is converting my new column with the formatted numbers to a TEXT field so then I'm unable to aggregate and/or graph. I know what I'm trying to do is a bit more complex, but it the logic works until I add in the FORMAT function. SAMPLE DAXv1 (returns the values correctly formatted, but as a TEXT field): NewColumnV1 = SWITCH(true(), [Attribute]="CategoryValue1",format([MeasureField1],"$#,##0,,M"), [Attribute]=" CategoryValue2",format([MeasureField1],"general number"), format([MeasureField2],"percent")) SAMPLE DAXv2 (returns the values from the desired source field as a NUMBER field, just not formatted correctly): NewColumnV2 = SWITCH(true(), [Attribute]="CategoryValue1",[MeasureField1], [Attribute]=" CategoryValue2",[MeasureField1], [MeasureField2]) Thanks in advance for any ideas/guidance!
@naucifacio
@naucifacio 5 жыл бұрын
Is it possible to give different formats to a single measure depending on a selected value? Edited 5 min. later: Well don't worry i've seen you've had the same problem without finding a solution :(
@CurbalEN
@CurbalEN 5 жыл бұрын
Maybe, something like this? m.kzbin.info/www/bejne/bmm0hJlom6dkiMk /Ruth
@perezmarcone
@perezmarcone 4 жыл бұрын
Format satan. :D
@CurbalEN
@CurbalEN 4 жыл бұрын
Did I say that? 😂😂 /Ruth
@perezmarcone
@perezmarcone 4 жыл бұрын
@@CurbalEN when you are using format. si jajajjaa.
DAX Fridays! #33: Quick Measures
20:04
Curbal
Рет қаралды 10 М.
DAX Format Function - A few Awesome Tricks
8:02
Goodly
Рет қаралды 13 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
DAX Fridays! #30: SEARCH vs FIND
13:22
Curbal
Рет қаралды 26 М.
How and where to write DAX Measures for Power BI and Excel
14:02
MyOnlineTrainingHub
Рет қаралды 83 М.
Values Function DAX
5:46
Goodly
Рет қаралды 36 М.
Digging into DYNAMIC format strings for DAX Measures in Power BI
4:41
DAX Fridays! #78: When should I use FILTER() with CALCULATE?
11:35
DAX HASONEVALUE Function
5:34
Goodly
Рет қаралды 14 М.
DAX Fridays #201: How to create virtual tables using DAX
7:02
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН