Forum Discussion
Sudharsanan
Helper III
4 years agoSum data based on product availability by comparing years.
Hi All, Can someone help me with the below scenerio? I wanted to sum the price when the product is available on both 2022 and 2021? is this something we can get using DAX? Appreciate your su...
- 4 years ago
Result = VAR _filter = INTERSECT( CALCULATETABLE(VALUES('Table'[Customer]),'Table'[Year] = 2021), CALCULATETABLE(VALUES('Table'[Customer]),'Table'[Year] = 2022) ) RETURN CALCULATE( SUM('Table'[Price]), 'Table'[Year] = 2021, _filter )
In case it answered your question, please accept the solution to help other members find it. Appreciate Your Kudos.
SpartaBI Logo
Visit SpartaBI website Visit SpartaBI Linkdin Visit SpartaBI Facebook
Showcase Report – Contoso By SpartaBI
Sudharsanan
Helper III
4 years agoSpartaBI thats should be better..let me know how can i connect?
SpartaBI
Community Champion
4 years agoSudharsanan can you join now?
https://us05web.zoom.us/j/82871748787?pwd=bFBCenRWK1g4ZkhWR3U4cndvUmtXQT09
- Sudharsanan4 years ago
Helper III
SpartaBI meet.google.com/kbh-uyud-dvz