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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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