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.
id | Driver 1D |
10 | 1 |
9 | 1 |
8 | 1 |
10 | 1 |
10 | 2 |
10 | 2 |
10 | 3 |
9 | 3 |
9 | 3 |
8 | 3 |
8 | 3 |
8 | 3 |
8 | 3 |
8 | 1 |
8 | 3 |
8 | 3 |
8 | 1 |
7 | 4 |
7 | 4 |
6 | 4 |
6 | 4 |
6 | 3 |
6 | 3 |
6 | 3 |
here is my data set I want to get the sum of the iD which is greater than 8 and another set which is less than 7
How I can create a DAX formula to get this?
I also have data set which creted by tablue and they use below formula,
Clients = SUM(INT([ID] > 8))
so in power bi I creted this formula,
Clinets = CALCULATE(SUM(Sheet1[ID]), FILTER(Sheet1[ID]] > 8))
Is this formula is correct is this giving the same data as the tableau formula?
Lokking formward favourable response
Thank you so much
Solved! Go to Solution.
Hi @cham
Please see the below Dax expression, it will sum all ID numbers that are grater than 8 .
Clients = CALCULATE( SUM( Sheet1[ID] ), Sheet1[ID] > 8 )
Hi @cham
Please see the below Dax expression, it will sum all ID numbers that are grater than 8 .
Clients = CALCULATE( SUM( Sheet1[ID] ), Sheet1[ID] > 8 )
Thank you so much
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 |