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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
tonog
New Member

Dynamic zscores with filters

Hi everyone, I am trying to create a dynamic zscore slicer that will calculate the zscores based on only the points on a scatter plot graph. I have around 5 filters that affect the points in the graph. I have tried various DAX formulas but whenever they run, they dont seem to work, or update as I apply filters to my data. Here is what I have: 

Z-Score =
VAR _mean =
    AVERAGEX(
        ALLSELECTED('df_temperatura'),
        [Dif5_0min]
    )
VAR _stdev =
    STDEVX.P(
        ALLSELECTED('df_temperatura'),
        [Dif5_0min]
    )
VAR _zscore =
    IF(
        _stdev <> 0,
        DIVIDE([Dif5_0min] - _mean, _stdev),
        BLANK()
    )
RETURN
    _zscore
1 REPLY 1
Anonymous
Not applicable

Hi @tonog 

Can you provide some picture references that, based on your description, may be affected by your data model, whether the data in your filter, and the data in the measure are in the same table? If it is not in the same table, does the corresponding table have a corresponding relationship, such as one-to-many? What is the cross-filter direction? Both or single?

 

Best Regards!

Yolo Zhu

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors