Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dax to find out which values are outside +/10% toleance
09-28-2023
09:50 AM
I have already added a measure for % difference between current month and previous month and have a % difference column in matrix, I want to now identfy which of those are outside tolerance of +/-10% .
Can someone please help me?
I have tried the following:
Margin type =
Switch (
TRUE(),
[MONTH_%_DIFF]<=-10 || [MONTH_%_DIFF]>=10,"Outside of Tolerance,""Within Tolerance")
and
and
above tolerance = IF([MONTH_%_DIFF]>[T1_HIGH],
IF([MONTH_%_DIFF]<[T2_LO],
"Yes","No"))
-- I set T1 High as 10 and T2 Low as -10
Solved! Go to Solution.
1 ACCEPTED SOLUTION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023
01:52 AM
hi, @forgetmenot
change logic to
above tolerance = IF([MONTH_%_DIFF]>[T1_HIGH] ||
[MONTH_%_DIFF]<[T2_LO],
"Yes","No")
set [T1_HIGH]= 0.1 and [T2_LO]=-0.1
because if we compare percentage we can not use % sign insted of it we must use 10% = 0.1 and -10% = -0.1
i hope now you get your answer
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023
12:01 AM
hi, @forgetmenot
change logic to
above tolerance = IF([MONTH_%_DIFF]>[T1_HIGH] ||
[MONTH_%_DIFF]<[T2_LO],
"Yes","No")
Did i answer your question? Mark my post as a solution which help other people to find fast and easily.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023
01:09 AM
Thank you for replying. I have tried using your modified expression and am getting mixture of yes and No so am definitely a step closer, but some of the "no" are still outside the tolerance. its still not working as it should. Can you please advise?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023
01:52 AM
hi, @forgetmenot
change logic to
above tolerance = IF([MONTH_%_DIFF]>[T1_HIGH] ||
[MONTH_%_DIFF]<[T2_LO],
"Yes","No")
set [T1_HIGH]= 0.1 and [T2_LO]=-0.1
because if we compare percentage we can not use % sign insted of it we must use 10% = 0.1 and -10% = -0.1
i hope now you get your answer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023
02:21 AM
Thank you so much! Schoolgirl error! 😮
Funny how sometimes we overlook the most obvious of things. Much apprecaited thanks a bunch !!! 🙂

Helpful resources
Announcements
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Recommendations
Subject | Author | Posted | |
---|---|---|---|
04-07-2016 06:32 AM | |||
12-14-2023 06:13 AM | |||
05-28-2024 03:59 AM | |||
08-20-2024 07:43 AM | |||
07-19-2022 11:55 AM |
Top Solution Authors (Last Month)
User | Count |
---|---|
23 | |
12 | |
10 | |
10 | |
8 |
Top Kudoed Authors (Last Month)
User | Count |
---|---|
16 | |
15 | |
15 | |
12 | |
10 |