Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Analitika
Post Prodigy
Post Prodigy

interactions work only in one direction

why interaction work only in one direction? Same code in other pbix file work like expected, but here not work, why?

 

Analitika_0-1614852669439.png

 

Analitika_1-1614852714328.png

 

https://filebin.net/97ae1ztowkykeyje

 

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @Analitika ,

 

_Stock = 
IF (
    ISFILTERED ( 'Category'[short] ),
    CALCULATE (
        [_EUR, end],
        FILTER (
            VALUES ( 'pre_kod BRIDGE'[PRE_KOD] ),
            COUNTROWS (
                FILTER (
                    'Category',
                    [_categories]='Category'[short]
                )
            ) > 0
        )
    )
)

The context of this measure contains pre_kod BRIDGE'[PRE_KOD] columns, and there is no relationship between the pre_kod BRIDGE table and Category table. The context environment will affect measure, while the actual column will not be affected by selecting measure.

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@V-lianl-msft other PBI files have same structure and relation, and work well

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.