Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi i'm trying to implement this Sql statment in power bi SUM(amount * coeff) where tdate < calendar[date]
So basicly amount, coeff and tdate are in one table and caledar[date] is another table no luck in querry edittor and also in creating new mesure.
Solved! Go to Solution.
Hi @Liklikadze ,
If you want a column to do it, you could refer to the following DAX:
Column =
'Table'[amount]*'Table'[coeff]
Then create relationship between this table and calendar table based on date column.
Now you could use SUM() function or set it in the field to get the result. And you could use date as a slicer to filter the data.
Hi @Liklikadze ,
If you want a column to do it, you could refer to the following DAX:
Column =
'Table'[amount]*'Table'[coeff]
Then create relationship between this table and calendar table based on date column.
Now you could use SUM() function or set it in the field to get the result. And you could use date as a slicer to filter the data.
what is expected value of calendar date when you want to say tdate < calendar[date]
For measure
calculate(SUMX(table,table[amount] *table[coeff]),filter(table,table[tdate] < max(calendar[date] ))
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
70 | |
68 | |
43 | |
34 | |
26 |
User | Count |
---|---|
86 | |
49 | |
45 | |
38 | |
37 |