Тёмный

How to set default slicer value in Power BI 

The BI Hub
Подписаться 2,8 тыс.
Просмотров 18 тыс.
50% 1

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

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 26   
@kartikeyatiwari6678
@kartikeyatiwari6678 17 дней назад
Hi can you make video for current logged user and orther user list ,, does this solution works for that too ?? kindly suggest. thnx
@PoojaYadav-jx9sl
@PoojaYadav-jx9sl 3 месяца назад
Suppose my data changes earlier I was having data till 2024 Jun and now I have data till 2023 dec then how it works , currently I am facing problem on this can someone help me
@thebihub
@thebihub 3 месяца назад
Hi Pooja, the same solution given above will work, for the Max date month always it'll hold 'latest month'. In your case first time latest month would be jun 2024 now it'll be 2023 dec
@PoojaYadav-jx9sl
@PoojaYadav-jx9sl 3 месяца назад
I have a date table and a fact and they are connected to each in your case you are having only one table
@PoojaYadav-jx9sl
@PoojaYadav-jx9sl 3 месяца назад
Can you tell me what logic do I need to use
@PoojaYadav-jx9sl
@PoojaYadav-jx9sl 3 месяца назад
Date 2 = VAR _max_date = MAX ( 'Balance date'[Balance date] ) VAR _last_three_month = EOMONTH ( _max_date, -1 ) + 1 RETURN IF ( 'Balance date'[Balance date] >= _last_three_month, "current month", FORMAT ( 'Balance date'[Balance date], "yyyy mmm" ) ) this is the dax that I have written
@PoojaYadav-jx9sl
@PoojaYadav-jx9sl 3 месяца назад
It is giving me correct results in the calculated column but not in the slicer
@pracasrv
@pracasrv 7 месяцев назад
Super Helpful. I've looked at 10+ tutorials on this - but none of it addressed it like you did. Great Job! Appreciate it.
@thebihub
@thebihub 7 месяцев назад
Thanks Prakash!
@sridharm3571
@sridharm3571 Год назад
Great, helpful!
@thebihub
@thebihub Год назад
Thanks!
@asgerlarsen2083
@asgerlarsen2083 Год назад
Nice. Is there a way of keeping the name of the latest month instead of using "Latest Month" as the name?
@thebihub
@thebihub Год назад
Thanks, the same name is what making the slicer to keep on default, you can add a measure in the card (lookup value which I showed in the demo) as a note around the slicer if you want
@lakshminarayana3168
@lakshminarayana3168 Год назад
I want to keep the default selection for the last 3 months, how can I achieve this ,can you help me 🙏
@thebihub
@thebihub Год назад
Hi Lakshmi, to make top 3 months as Default selection add the calculated column, Top 3 months = IF(RANKX(ALL('TableName'[YYYYMM]),'TableName'[YYYYMM],,DESC)
@izabelapereira1679
@izabelapereira1679 9 месяцев назад
@@thebihub Thanks for this one! It worked perfectly here.
@thebihub
@thebihub 9 месяцев назад
@@izabelapereira1679 thanks!
@3danim8r1
@3danim8r1 Год назад
Can we add this on the basis of Calendar table?
@thebihub
@thebihub Год назад
Yes, Simply check for Maximum month (date ) from calendar table and make it as latest month as shown in video
@Lixia123
@Lixia123 Год назад
This is what I am looking for, thanks a lot !
@thebihub
@thebihub Год назад
Glad it helped you , Thanks!☺
@kalyank2638
@kalyank2638 8 месяцев назад
Thanks but i. My reult mam seeing latest month and dec as well
@kalyank2638
@kalyank2638 8 месяцев назад
Can u pls help
@kalyank2638
@kalyank2638 8 месяцев назад
Can u pls help
Далее
Date table in Power BI
5:10
Просмотров 1 тыс.