Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello!
All errors started to occur after I updated my initial spreadsheets with an updated row, I was able to filter fiscal and calendar year.
My inital measure was:
Total Payroll Expense = SUMX( FILTER( 'Test Sheet', 'Test Sheet'[P&L Category] = "Payroll Expense" ), 'Test Sheet'[Actual Value] )
But an error message I recieved was,
"Calculation error in measures, the function sumx cannot work with the values of this type of string"
My modified measure is :
This now produces values vs blanks I was recieving. Only issue is when I filter the values they do not populate, the all turn (Blank).
Any help would be appreciated.
Solved! Go to Solution.
Hi @powerbinovice01 ,
Based on the error message you received, it seems that the function is unable to work with the values of the string type SUMX. The function that you added to your modified measure converts the string values to numeric values, which is why you are now seeing values instead of blanks VALUE.
TOTAL_b =
CALCULATE (
COUNT ( 'Table'[Quantite B] ),
FILTER (
'Table',
'Table'[YEAR_MONTH] = EARLIER ( 'Table'[YEAR_MONTH] )
&& 'Table'[Article] = EARLIER ( 'Table'[Article] )
&& 'Table'[Quantite B] <> 0
)
)
This should allow you to filter the values correctly.
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @powerbinovice01 ,
Based on the error message you received, it seems that the function is unable to work with the values of the string type SUMX. The function that you added to your modified measure converts the string values to numeric values, which is why you are now seeing values instead of blanks VALUE.
TOTAL_b =
CALCULATE (
COUNT ( 'Table'[Quantite B] ),
FILTER (
'Table',
'Table'[YEAR_MONTH] = EARLIER ( 'Table'[YEAR_MONTH] )
&& 'Table'[Article] = EARLIER ( 'Table'[Article] )
&& 'Table'[Quantite B] <> 0
)
)
This should allow you to filter the values correctly.
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
9 | |
7 | |
6 | |
6 |
User | Count |
---|---|
28 | |
11 | |
11 | |
10 | |
6 |