Forum Discussion
Measure to filter rows Using another measure DAX
In summary, this measure identifies sales quantities that deviate significantly from the user's average sales within a year for a specific product brand, helping to flag unusual sales patterns.
---------------------------------------------
This is the result of my measure :
we have a user name, product_line, category on row, year and month on columns and the measure User Year Decalartion Anomaly as value:
Based on that measure, I want to create a new measure that uses this result to achieve the following:
The expected output is:
Create a new measure that allows me to get the rows where there is at least one '1' in the first measure.
User name Product line Category MeasureValue
A PL new 0 ( I don't have any 1 in the value)
A PL retread 1 (I have 1 in the month 10 on a year 2023)
A TC all 1 (I have 1 in the month 10 on a year 2023)
2 Replies
- Greg_DecklerCommunity Champion
OmarSek75 Sounds like a Complex Selector: (3) The Complex Selector - Microsoft Fabric Community
Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882
Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.- OmarSek75Regular Visitor
I corrected the post. I can't post the sample, but I tried to be as clear as possible in my explanation.