The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have Leads in one table and Inventory count in another. I need to calculate the rate of leads per inventory at a daily customer grain.
using Leads per Listing = SUM(Leads[LEADS])/SUM('Listings Inventory'[INVENTORY]) is returning a single value for all rows. Please Help.
Solved! Go to Solution.
@Anonymous
its correct. but if you create a measure it will enable row context
Leads per Listing Measure =
DIVIDE(
CALCULATE(SUM(Leads[LEADS])),
CALCULATE(SUM('Listings Inventory'[INVENTORY]) )
)
and make sure you have appropriate relationships between your tables
Hi, @Anonymous
If you try to create calculate column,just try formula as below:
Leads per Listing1 = DIVIDE(LEADS[LEADS],RELATED('Listings Inventory'[INVENTORY]))
If you are creating the following measure but do not get the correct result,
Leads per Listing = SUM(Leads[LEADS])/SUM('Listings Inventory'[INVENTORY])
please make sure that the types of the fields in table visual are "Don't Summmarized"
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous
its correct. but if you create a measure it will enable row context
Leads per Listing Measure =
DIVIDE(
CALCULATE(SUM(Leads[LEADS])),
CALCULATE(SUM('Listings Inventory'[INVENTORY]) )
)
and make sure you have appropriate relationships between your tables
User | Count |
---|---|
78 | |
77 | |
38 | |
31 | |
28 |
User | Count |
---|---|
106 | |
96 | |
55 | |
49 | |
46 |