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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
niuniu440
Regular Visitor

how to use measure as a slicer

Hi,

I have a question about how to use a measure as a visual slicer. I already calculated a measure of zscores of the target value based on other existing slicers. I created another measure to indicate if it is an outlier using: IsOutliers = IF(abs(zscore)>3, True, False). So far, it works fine. However, I cant figure out how to create a vitual sclier so I can filter between outliers and non-outliers. I read couple threads here, and create a supporting table with one column, and each row of outliers and non-outliers, but dont know how to link this table with the IsOutliers measure. I tried the method from this article, but did not work: https://community.powerbi.com/t5/Community-Blog/Solving-Attendance-with-the-Disconnected-Table-Trick...

thanks!

2 REPLIES 2
niuniu440
Regular Visitor

forum.PNG

Here is a sample of my data, the target value is 'Time Elapsed', the column of zscore and Outliers are both calculated dynamically based on the selection of 'ProjectName', 'ProjectType', and 'District'. I'd like to be able to make a slicer based on the measure of Outliers.

HI @niuniu440 ,

AFAIK, power bi not support to create dynamic calculated column based on filter/slicer. 

If you mean they are value fields and they will auto summary by current category group if you setting up aggregation mode on visual side. It mean they will auto aggregation rather than dynamic calculate based on selection.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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