The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello,
I would like to ask for help.
I have 3 columns: price, date1 and date2
How can I create measure where SUM of price with filter date1 is less that today and filter date2 is not blank.
Thanks.
Solved! Go to Solution.
Hi,
use the below code for creating the Masure :
Appreciate your Kudos and please mark it as a solution if it helps you.
Assuming your table is called "Table":
Measure = CALCULATE(SUM('Table'[Price]),'Table'[Date1]<Today(),NOT ISBLANK('Table'[Date2]))
CALCULATE() allows multiple filters.
Assuming your table is called "Table":
Measure = CALCULATE(SUM('Table'[Price]),'Table'[Date1]<Today(),NOT ISBLANK('Table'[Date2]))
CALCULATE() allows multiple filters.
Hi,
use the below code for creating the Masure :
Appreciate your Kudos and please mark it as a solution if it helps you.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
79 | |
71 | |
48 | |
41 |
User | Count |
---|---|
138 | |
108 | |
71 | |
64 | |
58 |