Forum Discussion

Harish85's avatar
Harish85
Helper III
1 year ago
Solved

Required Dax formula for below table.

  HI All,   In the table 74k above columns ,if customer id is same(c240008470) for VTWEG 11 and 13 then we should show only 11 values. Please help with the formula    
  • v-ssriganesh's avatar
    11 months ago

    Hello Harish85,
    I have reproduced your scenario in Power BI Desktop using the sample data you provided. I implemented a DAX formula to filter the table as per your requirement showing only VTWEG 11 for CUSTOMER_IDs with multiple VTWEG values (e.g: 11, 13, 15), while keeping all rows for CUSTOMER_IDs with a single VTWEG value.

    I got the expected output based on your description:


    For your reference, I have attached a .pbix file containing the solution, including the sample data and the implemented DAX formula. You can download it, open it in Power BI Desktop, and explore the FilteredSalesData table to see the results.

     

    Best regards,
    Ganesh Singamshetty