The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
We are working with a live connection (to an Excel sheet) which makes it impossible to modify the data, I tried my best to clean up the source. I have the problem, that I have an empty column which is interpreted as STRING instead of numbers and therefore I cannot build the SUM. I try to skip the computation of the sum with an if command when the cells are empty, but it does not work.
This is the basic function I try to work with:
Solved! Go to Solution.
Hello @ftglobecrawler,
Can you please try:
1. Convert Strings to Numbers
New Total =
IF (
COUNT(List_A[Column A]) < 1,
0,
SUMX(List_A, VALUE(List_A[Column A]))
)
2. Handle Non-Numeric Values
New Total =
IF (
COUNT(List_A[Column A]) < 1,
0,
SUMX(List_A, IF(ISNUMBER(VALUE(List_A[Column A])), VALUE(List_A[Column A]), 0))
)
Should you require further assistance, please do not hesitate to reach out to me.
Hello @ftglobecrawler,
Can you please try:
1. Convert Strings to Numbers
New Total =
IF (
COUNT(List_A[Column A]) < 1,
0,
SUMX(List_A, VALUE(List_A[Column A]))
)
2. Handle Non-Numeric Values
New Total =
IF (
COUNT(List_A[Column A]) < 1,
0,
SUMX(List_A, IF(ISNUMBER(VALUE(List_A[Column A])), VALUE(List_A[Column A]), 0))
)
Should you require further assistance, please do not hesitate to reach out to me.
User | Count |
---|---|
17 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
9 | |
8 |