cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
only_me321
Frequent Visitor

Replace values with values in other column

table example

only_me321_2-1675066206254.png

 

I need this 

only_me321_0-1675065937848.png

 

The DAX I wrote is 

    New_Column = CALCULATE(MIN('table'[Sup_group]),FILTER(ALL('table'),
                                                                     'table'[province] = EARLIER('table'[province]) &&
                                                                     'Stable'[Quarter] = "Q1"))

 

The result is 

only_me321_1-1675066093052.png

    But I don't want this kind of result, I want like the first picture.

 

help me please,

thank you.

 

1 ACCEPTED SOLUTION
Ahmedx
Solution Sage
Solution Sage

 

​Column = CALCULATE(MIN([Sup_group]),ALLEXCEPT('Table','Table'[Group]))

 

If I answered your question, please mark my post as solution, Appreciate your Kudos!

View solution in original post

4 REPLIES 4
Ahmedx
Solution Sage
Solution Sage

 

​Column = CALCULATE(MIN([Sup_group]),ALLEXCEPT('Table','Table'[Group]))

 

If I answered your question, please mark my post as solution, Appreciate your Kudos!

Oh, I can do it, just like you let me try. 👏

thank you, I tried to follow you result is  

only_me321_1-1675070785449.png

 

which i want like this

only_me321_2-1675070796689.png

 

You are doing something wrong, look at my file
https://dropmefiles.com/XruU9

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors