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.
In my dataset, I have three tables "New", "Old" & "Date".
New & Old table both consists of columns "Observe Date" & "Value".
These both tables are connected to Date Table via "Date" column.
In the report, there will be a filter for Fiscal Year from "Date" Table. I want a measure such that if "Observe Date" is same in both "New" & "Old" table, then it must return minimum value for "Value" column among both tables. You can see the required result in the screenshot shared below:
Please find the .pbix file:
https://www.dropbox.com/s/nn74uc4ac2palqj/Demo1.pbix?dl=0
Please Guide
Thanks in Advance!
Solved! Go to Solution.
Hi @Anonymous
You may create below measures.Attached the sample file.
NewValue = CALCULATE(SUM(New[Value]))
OldValue = CALCULATE(SUM(Old[Value]))
Measure = IF(New[NewValue]>Old[OldValue],Old[OldValue],New[NewValue])
Regards,
Cherie
Hi @Anonymous
Could you check the file again? I cannot find the three tables and observe date columns in it.
Regards,
Cherie
can you please check now, I have updated the file link
Hi @Anonymous
You may create below measures.Attached the sample file.
NewValue = CALCULATE(SUM(New[Value]))
OldValue = CALCULATE(SUM(Old[Value]))
Measure = IF(New[NewValue]>Old[OldValue],Old[OldValue],New[NewValue])
Regards,
Cherie
Hi @Anonymous
Could you tell me if your problem has been solved? If it is,kindly mark the helpful answer as a solution and welcome to share your own solution. More people will benefit from here. If not, please share more details for us so that we could help further on it.
Regards,
Cherie
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 |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |