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.
Hi @Anonymous,
Can you share a sample? A dax formula has tight connections to the data model structure. Can you post the expected result? I'm afraid the first pseudo-code isn't clear. It could be like below.
measure 1 = [fix basic costs] + IF ( MIN ( actual[extra costs] ) >= SUM ( actual[income costs] ) && MIN ( actual[id] ) <> 2; MIN ( actual[extra costs] ) + SUM ( actual[income costs] ); IF ( MIN ( actual[id] ) = 2; MIN ( actual[extra costs] ) + SUM ( actual[income costs] ); SUM ( actual[income costs] ) ) )
Best Regards,
Dale
Dear All,
I would like to correct and clarify the final result so I sent a new table which contain that column what I want to get with the two above SQL script.
Please help me to tranfer those SQL scripts into DAX codes.
Thank you for everyone.
Regards,
Attila
Dear @v-jiascu-msft,
Firstly I really thank you your answer, secondly here is the sample which show my desired result.
I think the DAX code should work on Company_id level to count the proper number.
Best regards,
Attila
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 |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |