The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi there,
I have a fact table joined with time table (timekey, many-to-one) and product table (productkey, many-to-one).
I want to create a flag with following logic but unsuccessful:
Flag = IF(product.sku = "xxxxxxxx" && time.date >= "mm/dd/yyyy", "N", "Y")
Is there any way I can use DAX functions to achieve this without changing the dataset?
Thanks,
are you trying to do this with a measure or with a calculated column ?
Help when you know. Ask when you don't!
Calculated column
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |