Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi Community,
I've read a few other posts about people having problem with ALLEXCEPT and I haven't been able to transfer what I've read to a working solution as yet.
I have the below DAX formula:
hi, @Anonymous
What is the formula of '30 Day STR', and if you could try to refer to this post:
https://community.powerbi.com/t5/Desktop/Make-measure-ignore-specific-filter/td-p/336870
If not your case, please share your sample pbix file.
Best Regards,
Lin
Hi @v-lili6-msft,
Here are the two formulas to make 30 Day Sell Through
30 day Sell Through =
CALCULATE([New In (#)];fact_published[thirtyd_sold_status] in {1};dim_date[is_past_thirty_days]=FALSE())
/
CALCULATE([New In (#)];fact_published[thirtyd_sold_status] in {1;3};dim_date[is_past_thirty_days]=FALSE())
New In (#) =
CALCULATE(DISTINCTCOUNT(fact_published[id_product]))
is_past_thirty_days is just a calculated column that returns True/False based on Today's date
EDIT: I looked at the post you suggested, the ALL makes sense - and Im trying to do the exact opposite, i.e. allow no filters except on two specific columns. Which is not working.
| User | Count |
|---|---|
| 50 | |
| 36 | |
| 29 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 58 | |
| 39 | |
| 21 | |
| 20 |