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.
I have a fixed column named "Plan"and I want to compare its Restriction over 2 months and flag the rows which changed.
To make the question more clear, below are the details. Can someone please help ?
Plan name | Restriction for May'18 | Restriction for June'18 | Expected result |
A | PA | PA | No Change |
B | QA | ST | Change |
C | ST | PA | Change |
D | PA | ST | Change |
Solved! Go to Solution.
Use below DAX, before that Please create the Relation between both the Tables the Create the Calculated Column
Expected Results = IF ( 'Sales Data'[Customer Name Index] = RELATED ( 'Customer Data'[Customer Index] ), "No Change", "Change" )
Regards,
Chetan K
Use below DAX, before that Please create the Relation between both the Tables the Create the Calculated Column
Expected Results = IF ( 'Sales Data'[Customer Name Index] = RELATED ( 'Customer Data'[Customer Index] ), "No Change", "Change" )
Regards,
Chetan K
For this sample data, you can create a calculated column with the below formula.
COmparision=IF(Table1[Restriction for May'18]=Table1[Restriction for June'18], "No Change", "Change")
Thanks
Raj