Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hello PowerBI Community,
I am hoping to get some help with my situation. I have a Table called Leads. I have created a Date table. Both these tables have relationship based on Year and Month. Now I have two slicers in the Lead table called State and Center. When I filter values from State and Center, it should automatically update the count of Unqualified Leads in the Date table (Destination) based on the slicers selected in the Lead table (Source)
Below are the screenshots:
The below formula gives me correct count at the Company level, but when I try to filter it at individual states/Centers the count does not change.
Hello,
I have attached the sample data in excel format. I have two objects that are Leads and Enrollment that are not related to each other. I am trying to create a rate calculation. I take all the leads for a month divide it by enrollments for that month and get a value. I use date table for this, but I do not have dimensions like Center State etc. So I am able to only get the overall date and not at Center State Level. Any help to design a data model within Power BI is greatly appreciated.
Hi,
Share some data in a format that can be pasted in an MS Excel file and show the expected result.
Hello Ashish,
How do I attach the excel file. I do not get an option to do that.
Hi,
Upload the file to Google Drive or similar service and share the download link here.
Hello Ashish,
Please find the link to sample data. Let me know if you are able to access it.
Object# 1 Enrollment
Object #2 Leads
Both objects do not have a relationship.
Metric - Leads for current month/Enrollment for current month (expressed as %)
I also need to filter the metric by Center, State and Referral Category. If I apply the filter, the rate should change dynamically.
Thank you Ashish. I see it is working for Referral Source Category, but I also need it by Center and State. So I suppose I will need to create separate tables (one for Center and another one for State) and then establish relationships?
Question - I have tried this in my current PowerBI model and it will not let me have multiple relationships. Is there s specific way you would suggest to establish that relationship?
Yes, relationships need to be created. Ensure they are Many to One and Single.
Thank you Ashish! How would you create lead lag calculations? When I create them in the date table I cannot filter them out.
You are welcome. Not clear with your question. Share some data and show the expected result.
Hi @Anonymous ,
Please try to create a measure.
Unqualified Leads Measure =
CALCULATE(
COUNTROWS('lead'),
ALLSELECTED('lead'[State], 'lead'[Center]),
FILTER('lead', 'lead'[YYYYMM] = MAX('Date'[YYYYMM]))
)
or
Unqualified Leads Measure =
CALCULATE(
COUNTROWS('lead'),
FILTER( ALLSELECTED('lead'), 'lead'[YYYYMM] = MAX('Date'[YYYYMM]))
)
This measure will aggregate the count of rows in the 'lead' table based on the selected 'lead'[State] and 'lead'[Center] while filtering the 'lead'[YYYYMM] to match the maximum 'Date'[YYYYMM] in the current context.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello,
No this did not help solve my problem.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
83 | |
42 | |
30 | |
27 | |
27 |