Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have 3 tables: Date, contracts, and suppliers.
Relations.
date[date] O > M contract[signDate]
suppliers[id] O > M contract[supId]
and I wrote this measure
IF(ISFILTERED('suppliers'[name ]), Calculate(sum(contract[contruct_amount])), CALCULATE(sum(contract[contruct_amount])), FILTER('suppliers', [id]= "070440006322")))
the measureis working, but data for some years dissapeared.
In the page no filter has been used
Solved! Go to Solution.
Hi @Anonymous ,
It seems that your measure is wrong
The ) is in the wrong place, please modify:
Measure = IF(ISFILTERED('suppliers'[name]), Calculate(sum(contract[contruct_amount])), CALCULATE(sum(contract[contruct_amount]),FILTER('suppliers', [id]= "070440006322")))
Or if you are still confused about it, please provide me with more details about your table and your expected outputs or share me with your pbix file after removing sensitive data.
Refer to:
How to Get Your Question Answered Quickly
How to provide sample data in the Power BI Forum
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Any updates?
Best Regards,
Eyelyn Qin
Hi @Anonymous ,
It seems that your measure is wrong
The ) is in the wrong place, please modify:
Measure = IF(ISFILTERED('suppliers'[name]), Calculate(sum(contract[contruct_amount])), CALCULATE(sum(contract[contruct_amount]),FILTER('suppliers', [id]= "070440006322")))
Or if you are still confused about it, please provide me with more details about your table and your expected outputs or share me with your pbix file after removing sensitive data.
Refer to:
How to Get Your Question Answered Quickly
How to provide sample data in the Power BI Forum
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , do you have data for this id - [id]= "070440006322" in your table ?
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
yes, I have data for the [id]= "070440006322"
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |