Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hi guys,
I have a table with colummn that contains several numbers and I need to sum them.
It would be easy, but in this colummn I have some words together and I can't take this words.
for exemple:
Values:
10,00
20,00
not yet
30,00
loading
40,00....
How can I creat a measure that just sum the numbers disregarding the words?
Solved! Go to Solution.
Hi @LeonardCs
Please try
Measure =
SUMX (
'Table',
IFERROR ( 'Table'[Value] + 0, 0 )
)
@LeonardCs Try this. PBIX attached below signature.
Measure =
VAR __Table =
ADDCOLUMNS(
'Table',
"Column1", IF( ISERROR( [Values:] + 0 ), BLANK(), [Values:] + 0 )
)
VAR __Result = SUMX( __Table, [Column1] )
RETURN
__Result
Thank you for responding quickly
Hi @LeonardCs
Please try
Measure =
SUMX (
'Table',
IFERROR ( 'Table'[Value] + 0, 0 )
)
This was easier than I imagined! Thank you so much 🙏🙏
@tamerj1 Beat me by 15 seconds!! And nice one!
Lol
It's been a while since I last answered a question in the forum.
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
33 | |
15 | |
14 | |
13 | |
9 |
User | Count |
---|---|
60 | |
23 | |
22 | |
19 | |
13 |