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! Learn more
Hey, I'm very new in Power Bi and I have an issue.
I need to create a measure of Cancel Sales, the problem is that I have only one column of Sales that in there includes the Sales and Cancel Sales and also two Dates (FECHA_DOC) and (FECHA_ CANCELA)
FECHA_DOC = When the sale was made
FECHA_CANCELA = If the customer didn't want to buy
I want to take the Cancel Sales with FECHA_CANCELA
I use this formula
TOT SALES = SUM(FACTURAS[TOTAL SALES]) "The column with the sales and cancel sales"
Solved! Go to Solution.
I found the answer while searching the internet, I use USERELATIONSHIP
1) I took my Column (FECHA_CANCELA) and connected with my Calendar Table(CALENDARIO[DATE]),we can see that when these two tables are connected, it will not be a primary connection but a secondary one, since a dotted line will be seen.
2) Now I use this new Meassure
I found the answer while searching the internet, I use USERELATIONSHIP
1) I took my Column (FECHA_CANCELA) and connected with my Calendar Table(CALENDARIO[DATE]),we can see that when these two tables are connected, it will not be a primary connection but a secondary one, since a dotted line will be seen.
2) Now I use this new Meassure
Hi @ALVIV99 ,
Now that you have found a solution, please mark your own reply as the answer, and more people will benefit from it.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
|---|---|
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 3 |