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
I've a table with a columns date and other the price. I need create two measure, one measure return the SUM from slicer selected with column date and the other measure the SUM from other slicer with same column date. How can i do this?
Solved! Go to Solution.
I'm learning DAX. What I did was create two table with same Date: Date_1 and Date_2. After i created a relationship from DATE_1 to main table, and from DATE_2 to main table. Disable the relationships and i used USERELATIONSHIP.
Measures created:
Value 1: CALCULATE([measure], USERELATIONSHIP(DATE_1[DATE], GOODS[UPDATE]) ) Value 2: CALCULATE([measure], USERELATIONSHIP(DATE_2[DATE], GOODS[UPDATE]) )
I'm learning DAX. What I did was create two table with same Date: Date_1 and Date_2. After i created a relationship from DATE_1 to main table, and from DATE_2 to main table. Disable the relationships and i used USERELATIONSHIP.
Measures created:
Value 1: CALCULATE([measure], USERELATIONSHIP(DATE_1[DATE], GOODS[UPDATE]) ) Value 2: CALCULATE([measure], USERELATIONSHIP(DATE_2[DATE], GOODS[UPDATE]) )
You are thinking on something like this?
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!