Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Solved! Go to Solution.
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 () )
Best Regards,
Dale
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 () )
Best Regards,
Dale
@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)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |