Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
robdan
Frequent Visitor

How to generate a new column based on observations in another one

I have the following Table:
GROUP which is a list of all clients

TIME that has as values January, February and December

 

I need to create another column (or maybe a measure would be better) which assigns "New" to clients which are present only when TIME is equal to December.


I think my dax knowledge is not good enoguh to solve this issue, i guess FILTER would be needed but i'm not sure how to use it
Thanks!

2 ACCEPTED SOLUTIONS
govindarajan_d
Super User
Super User

Hi @robdan,

 

Can you try using this measure: 

 

New Client? = 
VAR __ConditionMet = CALCULATE(
                                COUNTROWS('Sample'),
                                'Sample'[Time] = "December"
                             ) > 0
RETURN
IF(
    __ConditionMet,
    "New",
    BLANK()
)

 

 

View solution in original post

Anonymous
Not applicable

Hi @robdan 

 

@govindarajan_d  GOOD ANSWER!

 

You can also try the following measure:

 

My sample:

vxuxinyimsft_1-1708509320779.png

 

Measure = IF(MAX([Time]) = "December", "New", BLANK())

 

vxuxinyimsft_0-1708509291058.png

Best Regards,
Yulia Xu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @robdan 

 

@govindarajan_d  GOOD ANSWER!

 

You can also try the following measure:

 

My sample:

vxuxinyimsft_1-1708509320779.png

 

Measure = IF(MAX([Time]) = "December", "New", BLANK())

 

vxuxinyimsft_0-1708509291058.png

Best Regards,
Yulia Xu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

govindarajan_d
Super User
Super User

Hi @robdan,

 

Can you try using this measure: 

 

New Client? = 
VAR __ConditionMet = CALCULATE(
                                COUNTROWS('Sample'),
                                'Sample'[Time] = "December"
                             ) > 0
RETURN
IF(
    __ConditionMet,
    "New",
    BLANK()
)

 

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.