Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello, PBI community! Need help.
Need Help
Goal:
My objective is to make a division to obtain a 'Cost / R$ Transported' indicator always from my 'last period' or 'month to month' or 'daily'.
However, my 'Numerator' is a fixed monthly data ('DRE' [ORÇAMENTO]) from the query 'DRE' and my 'Denominator' is a data that varies daily ('fsg3342' [VLR MERC]).'DRE' ORÇAMENTO
'fsg3342' VLR MERC
Problem:
I have only one release per month on 'DRE' [ORÇAMENTO] and several releases within a day on 'fsg' [VLR MERC].
What I managed to think, but still doesn't answer me:
Custo/R$ Transportado = CALCULATE(
DIVIDE(
SUM('DRE'[ORÇADO]),SUM('fsg3342'[VLR MERC]),0)
)
Could anyone help me?
Ty
Solved! Go to Solution.
Hi @Anonymous
Have you created relationships between tables? I suggest linking both tables to Calendar table and then the measure will work. You may download the PBIX file.
Kindly let me know if this helps.
Community Support Team _ Jing Zhang
If this post helps, please consider Accept it as the solution to help other members find it.
Hi @Anonymous
Have you created relationships between tables? I suggest linking both tables to Calendar table and then the measure will work. You may download the PBIX file.
Kindly let me know if this helps.
Community Support Team _ Jing Zhang
If this post helps, please consider Accept it as the solution to help other members find it.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 130 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |