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 does anybody hace the right measure for me so this measure works it gives me now a error
Hi @Krijgersss
What about swapping "-" with "=" in your dax formula like yellow highlighted below:
Best regards,
the - is a = 7so thats not the problem
@DataNinja777 Thanks for your contribution on this thread.
Hi @Krijgersss ,
Upon analysis of the error message, it appears to be indicative of a data type conversion issue. As recommended by @DataNinja777 , it would be beneficial to replace the minus sign(-) with an equal sign(=). It’s important to note that both ‘public glaccount_classification_mappings’[classification_description] and “Cost of goods sold” are Text types, hence the use of a minus sign between them is not suitable.
However, from your latest reply, the minus sign over here would have been an equal sign. That should return the result you want. If it still reports an error, could you please provide the following information:
1. What is the Data type of the field 'public transaction_lines'[cost_center_description] and 'public glaccount_classification_mappings'[classification_description] ?
2. What is the error message?
3. Please provide some raw data in your table 'Revenue' (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It would be helpful to find out the solution. You can refer the following link to share the required info:
How to provide sample data in the Power BI Forum
Best Regards
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |