Forum Discussion

PowerBI88's avatar
PowerBI88
Icon for Resolver I rankResolver I
4 years ago
Solved

Measure does not get filtered by specific column

Hi,

I have defined a table this way: 

 

RegressionelineareApplicazoni(Fine Mese) = SUMMARIZE('Forecasting Applicazioni','Forecasting Applicazioni'[appName])
 
then I created a measure on the same table this way: 
Budget = calculate((DATEDIFF ( DATE ( YEAR ( DataForecasting[DataForecasting Value] ), 1, 1 ), DataForecasting[DataForecasting Value], DAY ) + 1)*sum('Baseline Gen-Febr-Mar'[Giornaliero]))
 
I am not able to filter "Budget" measure by column appName which is on the same table.
 
can you provide me some help on how to solve this issue?
 
Thank you
Kind regards
Marta
  • Hi I managed to solve my problem, it was due to a relationship misconfiguration.

     

    Kind regards

    Marta

6 Replies

  • Hi I managed to solve my problem, it was due to a relationship misconfiguration.

     

    Kind regards

    Marta

    • PowerBI88's avatar
      PowerBI88
      Icon for Resolver I rankResolver I

      Here is the diagram with the relationships.

       

      Let me know if you need further details.

       

      Thanks

      Marta

      • PowerBI88's avatar
        PowerBI88
        Icon for Resolver I rankResolver I

        I've checked and I am not able neither to filter Baseline by the appName contained in RegressionelineareApplicazioni.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi PowerBI88 ,

     

    Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file without sensitive data.


    Best Regards,

    Rico Zhou