Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

The data for some years dissapeared.

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...
  • Anonymous's avatar
    Anonymous
    4 years ago

    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.