Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
25 | |
17 | |
12 | |
12 | |
10 |
User | Count |
---|---|
33 | |
27 | |
16 | |
14 | |
13 |