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

How to compare three column and get repeated value detail for 1 particular column ?

new.JPG

Need Help-  i have chassie no of vehicles , service type of vehicle and city .. i need output as if city changes for same chassie number, then it must come as "True",if not then "False" (service type could be anything ) in another calulated column .. i created calculated column as service_status_city .. But even after changing city its showing false only ... please let me know correct DAX for the same  e.g

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Microsoft v-jiascu-msft
Microsoft

Re: How to compare three column and get repeated value detail for 1 particular column ?

Hi @singhpratiksha8,

 

Try out this formula please. It can be a measure or a calculated column.

Measure =
IF (
    CALCULATE (
        DISTINCTCOUNT ( Table1[City] ),
        ALL ( Table1[Service type], Table1[City] )
    )
        > 1,
    TRUE (),
    FALSE ()
)

How_to_compare_three_column_and_get_repeated_value_detail_for

 

Best Regards,

Dale

Community Support Team _ Dale
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
Highlighted
Microsoft v-jiascu-msft
Microsoft

Re: How to compare three column and get repeated value detail for 1 particular column ?

Hi @singhpratiksha8,

 

Try out this formula please. It can be a measure or a calculated column.

Measure =
IF (
    CALCULATE (
        DISTINCTCOUNT ( Table1[City] ),
        ALL ( Table1[Service type], Table1[City] )
    )
        > 1,
    TRUE (),
    FALSE ()
)

How_to_compare_three_column_and_get_repeated_value_detail_for

 

Best Regards,

Dale

Community Support Team _ Dale
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

singhpratiksha8 Frequent Visitor
Frequent Visitor

Re: How to compare three column and get repeated value detail for 1 particular column ?

@v-jiascu-msft  Thanx i had solved it before only . request to help me with other query i just have posted at 3:34 pm (INDIA)

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors (Last 30 Days)