cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Syndicate_Admin
Administrator
Administrator

Card does not respond to filters

Good!

I have assigned a card in Dashboard sheet "Total Hours per Contract", which acts according to data segmentation filter in another sheet (sheet X) of the same document, however in the Dashboard sheet only throws the total number of hours despite using the filter and the same measure of sheet X, But it does not change the value of the card.

Angelorod_2-1685850686489.png

Angelorod_1-1685850665508.png

Angelorod_3-1685850730200.png

(Applying a filter on X-sheet the value if it is correct)

Dashboard sheet (Applying same measure and filter as on sheet X):

Angelorod_4-1685850792419.png

The other 3 cards respond to the Contract Status filter, however the total hours per contract is the only one that does not respond.

Ayudaaa!

1 ACCEPTED SOLUTION
v-yiruan-msft
Community Support
Community Support

Hi @Angelorod ,

Please update the formula of measure [Horas Totales x Contrato] as below and check if it can return the expected result...

Horas Totales x Contrato =
CALCULATE (
    SUM ( 'Earned Value'[BAC (Budget at Complete)] ),
    FILTER (
        ALLSELECTED ( 'Earned Value' ),
        'Earned Value'[ID Contrato] IN ALLSELECTED ( 'Earned Value'[ID Contrato] )
    )
)

If the above one can't help you, please provide some raw data in your table 'Earned Value'  (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 links to share the required info:

How to provide sample data in the Power BI Forum

 

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yiruan-msft
Community Support
Community Support

Hi @Angelorod ,

Please update the formula of measure [Horas Totales x Contrato] as below and check if it can return the expected result...

Horas Totales x Contrato =
CALCULATE (
    SUM ( 'Earned Value'[BAC (Budget at Complete)] ),
    FILTER (
        ALLSELECTED ( 'Earned Value' ),
        'Earned Value'[ID Contrato] IN ALLSELECTED ( 'Earned Value'[ID Contrato] )
    )
)

If the above one can't help you, please provide some raw data in your table 'Earned Value'  (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 links to share the required info:

How to provide sample data in the Power BI Forum

 

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors