Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I have a main dashboard which displays weekly error and quality kpi's for countries . Have two other reports which computes two other kpi's. I want to display these two kpi's also in the main dashboard. So, I included these two datasets in the main dashboard. I want to show all these 4 kpi's in a visual. Filters are week and Country. If a select a week and country, the kpi's from the main dashboard are shown correctly but the kpi's from the other two datasets are not displayed correctly weekwise. It sums up for all weeks for the countries. I created a Country table with countries from all four kpi tables and a week table with weeks from all four kpi tables. And, have created a relationship of the Country field from the kpi tables to the Common Country table. Simillarly, have created a relationship of the week field from the kpi tables to the Common week table. I also created a measure and included the filters
Solved! Go to Solution.
Hi @Prima_ ,
Maybe you can modify your formula like below:
SelectedWeekKPI3 =
VAR SelectedWeek = SELECTEDVALUE(DateTable[Week])
VAR SelectedCountry = SELECTEDVALUE(CountryTable[Country])
RETURN
CALCULATE(
SUM(KPI3[KPI3_Value]),
KPI3[Week] = SelectedWeek,
KPI3[Country] = SelectedCountry
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Yes, it helped to improve the performance. Thank you.
Will try. Thanks
Hi @Prima_ ,
Maybe you can modify your formula like below:
SelectedWeekKPI3 =
VAR SelectedWeek = SELECTEDVALUE(DateTable[Week])
VAR SelectedCountry = SELECTEDVALUE(CountryTable[Country])
RETURN
CALCULATE(
SUM(KPI3[KPI3_Value]),
KPI3[Week] = SelectedWeek,
KPI3[Country] = SelectedCountry
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Yes, it helped to improve the performance. Thank you.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
9 | |
8 | |
8 | |
7 |
User | Count |
---|---|
14 | |
12 | |
11 | |
10 | |
9 |