5 Super Helpful DAX Tricks!

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024

ความคิดเห็น • 36

  • @GoodlyChandeep
    @GoodlyChandeep  3 หลายเดือนก่อน +2

    Download the Power BI File ⬇ - goodly.co.in/5-super-helpful-dax-tricks
    Also, check out my courses on DAX & Data Modeling - goodly.co.in/learn-dax-powerbi/

  • @sandhiyamanoharan940
    @sandhiyamanoharan940 8 วันที่ผ่านมา

    Wow this just blew my mind 🤯🔥 so cool

  • @ryankluck5041
    @ryankluck5041 3 หลายเดือนก่อน

    I like your ‘Remove Spill Over’ solution! I’ve had this issue before, and my solution was to filter the calendar table back in Power Query. So, the future dates just don’t get loaded into the model. But your solution allows the future dates to remain in the model, which is good, in case you want to include projections or forecasts.

  • @lovlyhearts288
    @lovlyhearts288 3 หลายเดือนก่อน

    Thank you Chandeep for this Video, It's really helped me to explore or discover something that I don't know before.

  • @edwinarchico439
    @edwinarchico439 3 หลายเดือนก่อน

    Thank you for this topic, really helpful and useful, excellent 🎉

  • @Alpacastan21m
    @Alpacastan21m 3 หลายเดือนก่อน

    Tip 2. Shoutout Greg Deckler for the fight.
    Great video!

  • @BummerSlug
    @BummerSlug 3 หลายเดือนก่อน

    I always enjoy your explanations. Thank you for these

  • @chrism9037
    @chrism9037 3 หลายเดือนก่อน

    Great video Chandeep!!

  • @Nalaka-Wanniarachchi
    @Nalaka-Wanniarachchi 3 หลายเดือนก่อน

    Cool,Down the memory lane on previous video on 'Filter between Dimension Tables | CALCULATE function Trick!' for trick No 01.
    BTW Goodly became Yellowish.But prefer white..

  • @kunalr_ai
    @kunalr_ai หลายเดือนก่อน

    Here are the tips from the video on how to use DAX functions:
    1. **Reverse filters from the facts table to the dimension table using expanded tables:**
    * Wrap the measure in the CALCULATE function with the fact table as the filter.
    * The fact table will be expanded to include all columns from the dimension table.
    * This allows you to apply filters from the dimension table to the fact table.
    2. **Fixing the nasty totals that Power BI often gives out as wrong using visual level calculations:**
    * Create a visual level calculation for the running total.
    * Define the calculation formula, axis, blanks handling, and reset conditions.
    * Wrap the calculation in the ADDCOLUMNS function to add it to a summarized table.
    * Use the SUMX function to calculate the total based on the summarized table.
    3. **Using the Max and the Min functions smartly instead of writing long if statements:**
    * Use the MIN function to determine the smaller value between two options.
    * Use the MAX function to select the larger value between a calculation and a blank.
    * This can simplify your calculations and make them more readable.
    4. **Removing the spillover effects of calculation using a check column:**
    * Create a check column with a DAX formula that evaluates the condition for the spillover effect.
    * Format the column to hide the values where the condition is not met.
    * This can help you avoid displaying incorrect data.
    5. **Finding duplicate rows based on a certain criteria using the group by function:**
    * Use the GROUPBY function to group the data by the desired columns.
    * Create a new column within the grouped table to count the occurrences of each combination.
    * Sort the table by the count column to identify duplicates.
    * This can help you identify and clean up duplicate data in your dataset.
    I hope these tips help you use DAX functions more effectively!

  • @navisalomi
    @navisalomi 3 หลายเดือนก่อน

    The reverse filters trick is simply badass awesome 😅

    • @kaly5834
      @kaly5834 2 หลายเดือนก่อน

      Why not just use the calculate modifier : userelationship, bidirectional argument ? To force the filter back to the product dimension? The expanded table concept is a nice trick but could be very confusing to new users.

  • @jaybuddhadev3543
    @jaybuddhadev3543 3 หลายเดือนก่อน

    always helpful content..

  • @Nalaka-Wanniarachchi
    @Nalaka-Wanniarachchi 3 หลายเดือนก่อน

    For the Tip No 05 I suppose that includes Nested Iterations: Outer iteration sets the row context, while inner iteration (FILTER) scans and applies conditions.

  • @RamadanShaban-p8g
    @RamadanShaban-p8g 3 หลายเดือนก่อน

    ❤the best of every thing❤

  • @ExcelWithChris
    @ExcelWithChris 3 หลายเดือนก่อน

    Thanks from South Africa!!!

  • @anilkapkoti296
    @anilkapkoti296 3 หลายเดือนก่อน

    Amazing ❤

  • @shubhamsharma-ne2ke
    @shubhamsharma-ne2ke 3 หลายเดือนก่อน

    Thanks for the video! In tip 1, how do I display “-“ in place of blanks where data is no present? Relating my problem to this data model, I have a matrix visual with rows as products and bands as columns but let’s say a product can be in multiple bands. So, if I have 5 bands and 10 products where a product P1 is only present for 2 bands, I want to show “yes” in 2 columns and “No”/- in 3 columns.

  • @mrbartuss1
    @mrbartuss1 3 หลายเดือนก่อน

    I solved problem #1 with this:
    Unique Bands =
    CALCULATE (
    DISTINCTCOUNT ( Products[Band] ),
    CROSSFILTER( Sales[Product ID], Products[Product Code], Both )
    )
    Which way would be better and why?
    #2 It seems without ADDCOLUMNS it also works:
    Max Region Sales =
    SUMX(
    SUMMARIZE (
    'Calendar',
    'Calendar'[Year],
    'Calendar'[Month]
    ),
    MAXX (
    VALUES ( Sales[Region] ),
    [Total Sales]
    )
    )

  • @syedabdussubhan786
    @syedabdussubhan786 3 หลายเดือนก่อน +1

    hi goodly do you need thumbnail designer at cheap rates?

  • @navisalomi
    @navisalomi 3 หลายเดือนก่อน

    Expanded table makes so much sense if you had SQL background

  • @timestoryx
    @timestoryx 3 หลายเดือนก่อน +1

    🎉🎉🎉

  • @workstuff5253
    @workstuff5253 3 หลายเดือนก่อน

    Does the reverse filter start to become slow with millions of rows in the fact table?

  • @nhatthuonghuynh9604
    @nhatthuonghuynh9604 3 หลายเดือนก่อน

    For tip 3, can I just use 0 instead of BLANK()?

  • @josealvesferreira1683
    @josealvesferreira1683 3 หลายเดือนก่อน

    I wish you would speak slower, but your class is good.

  • @kamalpal1
    @kamalpal1 3 หลายเดือนก่อน

    Plz create video in hindi

  • @walterstevens8676
    @walterstevens8676 3 หลายเดือนก่อน

    Too advanced for me!

  • @Dev_Bartwal
    @Dev_Bartwal 3 หลายเดือนก่อน

    Hindi wala course batao paji

  • @MrMumumumu
    @MrMumumumu 2 หลายเดือนก่อน

    Concerning tip 1: I just saw a video from SQLBI (th-cam.com/video/XSWXw-orvI4/w-d-xo.html) in which Alberto says to NEVER filter whole tables, only columns, exactly because of the expanded tables and the performance issues that can arise from them. In a small model like in the video, it might work fast, but if you have millions of rows perhaps not.

  • @vijaygadhavi5122
    @vijaygadhavi5122 3 หลายเดือนก่อน

    Make in hindi

  • @vishwajeetghonmode7202
    @vishwajeetghonmode7202 3 หลายเดือนก่อน

    Could you please give me solution,
    I have two tables charges and payment my requirement is payment comes month on month based on charge bill month.
    Suppose jan2024 charge billed $100 so $40 payment comes in jan2024 , $20 payment comes in feb2024, $15 comes in March 2024 and so on so. Bill ID is unique column in both table. How to calculate and show in matrix as
    Row payment month
    Charge . Jan24. Feb24 mar24
    Jan2024. $40. $20. $15
    Feb2024. $60. $25
    Mar2024. $50
    Please give me solution in pawar bi.

  • @nickukragan7228
    @nickukragan7228 3 หลายเดือนก่อน +2

    The fact that we should calculate right total every time is not awesome at all. It is awful. And what is the use of getting sum of maxs? It would be much better to get in total the biggest max if it is max calculation, or overall average if i calculate average.

    • @Alpacastan21m
      @Alpacastan21m 3 หลายเดือนก่อน

      Bane of Power BI : totals.

    • @jhonjaramillo4649
      @jhonjaramillo4649 3 หลายเดือนก่อน

      It's an example only.

  • @AjaySingh-hp6eh
    @AjaySingh-hp6eh 3 หลายเดือนก่อน

    This was really difficult to understand

  • @SohailLuxurious
    @SohailLuxurious 3 หลายเดือนก่อน

    Why you doing youtube