Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Guys,
I semi new to dax, but have experience in SQL. This is a bit of a brainbuster for me.
So I have a date slider that is cancellation date, and I want to filter 'Active' and 'Cancelled' products. However, I want to only show active products that are created before or on the MAX(cancellation_date) and that have a cancellation date of today and are created on or after the MIN(Cancellation Date)
Something like this:
active products = active_product.product_created_date < filter.max_cancellation_date and COALESCE(active_product.cancellation_date,GETDATE()) > filter.min_cancellation_date
Your help would be greatly appreciated
@gussie , Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Refer if this blog can offer a bit of help
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
49 | |
26 | |
20 | |
15 | |
12 |
User | Count |
---|---|
57 | |
49 | |
43 | |
19 | |
18 |