The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |