Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
community help needed
I have two table, one is "data" and other is "guide".
"result" table is answer what i need
What i need is amount SUM when data table account is between guide table TVTIAL and TVTILO ?
Simple solution, something like this:
CALCULATE(
SUM(DATA[amount]),
FILTER(DATA[account] >= GUIDE[TVTIAL] && DATA[account] <= GUIDE[TVTILO])
)
of course the above doesn't work
What is the right way to solve it?
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
EUROT measure: =
IF (
HASONEVALUE ( Guide[RIVINRO] ),
SUMX (
FILTER (
Data,
Data[Account] >= MAX ( Guide[TVTIAL] )
&& Data[Account] <= MAX ( Guide[TVTILO] )
),
Data[Amount]
) * -1 + 0
)
Hi,
Please check the below picture and the attached pbix file.
EUROT measure: =
IF (
HASONEVALUE ( Guide[RIVINRO] ),
SUMX (
FILTER (
Data,
Data[Account] >= MAX ( Guide[TVTIAL] )
&& Data[Account] <= MAX ( Guide[TVTILO] )
),
Data[Amount]
) * -1 + 0
)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 8 | |
| 7 |