Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
I created two measures called total leads and total leads ly (previous year)
Values are not matching when I select 2019 data,
I need to get 20201 in the KPI visuals, previous year showing correct. How to fix it. Basically, I need to get values in the KPI card based on any date selected. Is there any way?
Attach my PBIX file here
Please advise
Solved! Go to Solution.
Hi @Anonymous,
You can try measure as:
Total leads = CALCULATE(COUNTROWS('pack'),ALLEXCEPT('Date','Date'[Date]))
Total Leads LY =
CALCULATE([Total leads],SAMEPERIODLASTYEAR(ALLSELECTED('Date'[Date])))
Here is the output:
If you still have some question, please don't hesitate to let me known.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
Hi @Anonymous,
You can try measure as:
Total leads = CALCULATE(COUNTROWS('pack'),ALLEXCEPT('Date','Date'[Date]))
Total Leads LY =
CALCULATE([Total leads],SAMEPERIODLASTYEAR(ALLSELECTED('Date'[Date])))
Here is the output:
If you still have some question, please don't hesitate to let me known.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
@m3tr01d @Anonymous @Syndicate_Admin Thanks for your reply. There are no visual filters on the table or KPI card. If I select the date for one year, the values are showing correctly. Not showing for multiple years
Please share PowerBI file if you can
@Anonymous Thanks for your support. Please find the pbix file
Kindly check and advise. Thanks
According to I see, the KPI is not being affected by the filter that comes from the date, have you seen that part?
Hello @Anonymous ,
Please check if there is any duplicates, visual filters, page level filters and compare yearwise data in a table.
This is the only rootcause you can do why the sum is not coming correctly. As you have not created any measures mostly it would be the data issue.
Thanks,
Karthik
Hello!
are you sure you don't have any visual filters on the table or on the KPI card?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
97 | |
78 | |
64 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |