Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi friends,
I have a matrix table which shows up the performance of region.
If region performance is greater than pass working day in a month, that region achieves target. Conversely, It unachieves target.
I created a table selection allowed the user to filter which region achieved/unachieved target in month.
I am unable to create a calculated column which shows achieve/unachieve because of complicated model.
It is possbile to create MEASURE to allow the users to filter regions achieved/unachieved target?
Any help is highly apprecitated.
Thank you in advance.
Solved! Go to Solution.
A workaround will be like this.
1- Create a measure with your criteria that will return Text Values.
_Achive = IF([_Measure]>6 , "Achieve","Not Achieve")
2- Create a Filter Table (disconnected) having 2 values("Achieve" & "Not Achieve") which will be used in Slicer
3- Create another measure to return True if the condition is met.
_Criteria =
Var a = [_Achive]
var b = SELECTEDVALUE('Filter'[Criteria],MAX('Filter'[Criteria]))
RETURN
//b
IF (HASONEVALUE('Filter'[Criteria]),IF(a=b,1,0),1)
4- Now at the Visual Level filter put this new measure and Filter out values when the condition is 1
5- Create a slicer and put Filter Table values in it. Do a selection and check if the results are the same as required.
Proud to be a Super User!
A workaround will be like this.
1- Create a measure with your criteria that will return Text Values.
_Achive = IF([_Measure]>6 , "Achieve","Not Achieve")
2- Create a Filter Table (disconnected) having 2 values("Achieve" & "Not Achieve") which will be used in Slicer
3- Create another measure to return True if the condition is met.
_Criteria =
Var a = [_Achive]
var b = SELECTEDVALUE('Filter'[Criteria],MAX('Filter'[Criteria]))
RETURN
//b
IF (HASONEVALUE('Filter'[Criteria]),IF(a=b,1,0),1)
4- Now at the Visual Level filter put this new measure and Filter out values when the condition is 1
5- Create a slicer and put Filter Table values in it. Do a selection and check if the results are the same as required.
Proud to be a Super User!
@tracytran91 , if you want filter based of measure then you have to use an independent table and do binning/bucketing
refer my video : https://www.youtube.com/watch?v=CuczXPj0N-k
https://www.daxpatterns.com/dynamic-segmentation/
https://radacad.com/grouping-and-binning-step-towards-better-data-visualization
https://radacad.com/dynamic-banding-or-grouping-in-power-bi-using-dax-measures-choose-the-size-of-bi...
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
145 | |
79 | |
63 | |
52 | |
47 |
User | Count |
---|---|
217 | |
89 | |
76 | |
67 | |
60 |