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 Community,
I want to create a DAX formula that shows the following:
If Date <= Today, then show the "amount" from the "G/L Entry" table and if Date > Today, then show the "amount" from the "Budget" table.
Date is linked to postingdate from the "G/L Entry" & "Budget" tables.
Visualization: Matrix with Month column
Folgende DAX habe ich erstellt, jedoch funktioniert diese nicht richtig:
IS LE =
var TodayDate =
TODAY()
var ActualAmount =
CALCULATE(SUM('G/L Entry'[amount]), FILTER('Date','Date'[Date] <= TODAY()))
var BudgetAmount =
CALCULATE(SUM(Budget[Amount]),FILTER('Date','Date'[Date] > TODAY()))
return
IF(FILTER(Budget,Budget[Date] > TodayDate),BudgetAmount,ActualAmount)
Solved! Go to Solution.
hi @bedata1
try like:
hi @bedata1
try like:
User | Count |
---|---|
25 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
11 | |
10 | |
10 | |
9 |