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 all,
I have a sample table like this:
TEST | |
Account | Amount |
5000 | $ 10.00 |
RES001 | $ 15.00 |
5001 | $ 23.00 |
LABOUR | $ 76.00 |
7051 | $ 168.00 |
5746 | $ 641.00 |
(Assuming the rows go on and on to >1000 rows with multiple values)
The account IDs are not in number format because some accounts have letters like the example above.
I want to create a new measure to summarise all the amounts for accounts starting with 5 (ie: 5000, 5001, etc)
Currently my measure looks like this:
Measure = CALCULATE(SUM(TEST[Amount]),TEST[Account]="5000"&&TEST[Account]="5001"&&TEST[Account]="5002" ... (and so on)
I wonder if there is a way to filter there 5xxx accounts in my formula? I tried TEST[Account]="5???" but it does not work.
Thank you
Solved! Go to Solution.
Brilliant!
Thank you 😄
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 |
---|---|
107 | |
97 | |
75 | |
65 | |
53 |
User | Count |
---|---|
144 | |
103 | |
98 | |
85 | |
64 |