This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hello,
I'm trying to convert a measure called "Exclude" into a column so that I can use it in a filter. The measure works as expected.
Any suggestions on how to accomplish this?
Hi @Anonymous ,
If you don't want to see the extra data, you could create a new measure to set rules which returns 1 or 0. Then show data whose measure =1 or 0 in the filter pane.
This is a calculation for Sell Through column that returns expected results.
Now, I'm using the same formula for the "Exlude" column which I would like to use as a filter, however, It doesn't work the way the sell through column does.
you can see that for rows = 1 , it says "Yes". It should say "No" according to formula.
If I don't summarize the "Sell Through" column the "Exclude column" calculates it right and that's what it's doing even when summed up. But this is not what I need. It must be summed up TaskID
I also tried to add a measure which works fine
but when I try to build upon that and do a column that uses that correct measure, it doesn't return the correct results:
I'd really want to know how to overcome this. If it's the best, please message me and I could send you the sample file I work with directly to your email if that's fine.
I thought I fixed it but the issue is that the sell through column is being summed up.
and the exclude column is looking at the row context when evaluating.
Can I maybe send you a file?
In your initial screenshot , you have shown 2 rows and value of sell-through is same for those two, if change it to %(format), If the additional line is a issue
Were you able to getr into the file I share with you in private messages?
Sell Through column is calculating as it should. I played with % or number for that column but it doesn't effect the "Exlude" column.
Exlude column should return 'no' if Sell Through column = 1 (100%), ELSE Yes.
If this is at line level it should work without sum.
It seems like a calculated measure (sales through). based on the level you want calculate
filter = if(sumx(filter(TIDs[col1]=earlier(TIDs[col1])),TID[Sell Through]),,1,0)
you can add more conditions
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 25 | |
| 23 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 50 | |
| 30 | |
| 24 | |
| 23 |