Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi everyone!
I have a a mapping table for countries that connect to my main table in two relationships source and destination.
Im trying to calculate exports and imports with the following measure but it doesnt work
I get the following error
Any ideas?
Hi, @Anonymous
We recommend you pass filter arguments as Boolean expressions, whenever possible. It's because Import model tables are in-memory column stores. They are explicitly optimized to efficiently filter columns in this way.
However, there are some restrictions that apply to Boolean expressions when they're used as filter arguments. They:
Instead, you'll need to use table expressions for more complex filter requirements. For further information, I'd like to suggest you refer to the document .
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
So Im getting closer to the solution but still not there
I created a measure to calculate the values Im trying to map first
Hopefully this helps
I need to use a lot measures that require to filter based on dest and source names to get the country value in same measure
Hi @Anonymous
you can not use CALCULATE as a filter inside CALCULATE(). try to use var or filter()
it's unclear for me what do you mean with this statement CALCULATE(VALUES('New Mapping'[Country])
The True/False expression does not specify a column. Each True/False expressions used as a table filter expression must refer to exactly one column.
I GET THIS error using var
User | Count |
---|---|
93 | |
84 | |
78 | |
75 | |
66 |
User | Count |
---|---|
115 | |
105 | |
93 | |
65 | |
60 |