Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I am looking to display KPI Values per Business Unit on a bar graph. The datas are filtered by Year and Quarter thanks to a slicer.
KPI Values are fielded every 1st day of the month. My date column in my date table is only 1st day of the month-year. So far no problem.
However, the KPI value may not be fielded every month and would need to get the last available value as the current value. This should be done per KPI Name, per Business Unit.
I have been searching with the LastNonblank function but haven't managed to make it work. Would you have any ideas ?
My data model is like this :
Completed KPI (Fact Table) | KPI | Date | Business Unit |
id Date id KPI id Business Unit id KPI Value | id KPI Name | id 01-Month-Year Year Quarter-Year | id Business Unit Name |
Thanks for your help
Solved! Go to Solution.
I had to do some modification with the DAX but based on what you did I managed to make it works.
Thanks !!
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
9 | |
6 |