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.
When I run the following dax code it returns the lastnonblank of whole column from the table. How can I get the result for each row?
(status can be Active or Inactive)
Status = LASTNONBLANK('Production'[Status],1)
I'm writing this measure in tabular which has a fact table(connected to an sql view) and a dimension table. In above dax code 'Production' is a dimension table.
User | Count |
---|---|
8 | |
7 | |
2 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |