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 everyone, I need to create a measure (or other method) to see rows details in my "details page" from my "overview page" not considering start date from slicer date on the "details page".
DATA MODEL
Table Ticket_PBI: ticket_id (type: string), input (integer), output (integer), input_date (date)
Table Calendar_PBI: calendar_date (date)
...are all values from 01/01/2024 to 31/03/2024
Table relationship in the data model: Calendar_PBI (dim table) * -> 1 Ticket_PBI (fact table)
REPORT PAGE 1
I have created a page named 'TICKETS OVERVIEW'.
So, the result of my card will be = 3, as there are only 3 input_dates that are <= the MAX(Calendar_PBI[calendar_date]), which is 10/02/2024.
REPORT PAGE 2
I also created a page named 'TICKETS DETAILS'.
My goal is to display all the ticket_id that meet the "stock current" measure created in point 2. That is, all those ticket_id where their input_date is <= the MAX(Calendar_PBI[calendar_date]) of the slicer.
an example of DESIRED OUTPUT, a table visual with these columns and rows:
Solved! Go to Solution.
Hi @simon_pbi_data ,
The Table data is shown below:
Please follow these steps:
1. Use the following DAX expression to create a table
Table = SELECTCOLUMNS('Ticket_PBI',"ticiket_id",'Ticket_PBI'[ticket_id],"input_date",'Ticket_PBI'[input_date])
2.Use the following DAX expression to create a measure
_input_date = CALCULATE(SELECTEDVALUE('Table'[input_date]) ,'Table'[input_date] <= MAX('Calendar_PBI'[Date]))
3.Final output
Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @simon_pbi_data ,
The Table data is shown below:
Please follow these steps:
1. Use the following DAX expression to create a table
Table = SELECTCOLUMNS('Ticket_PBI',"ticiket_id",'Ticket_PBI'[ticket_id],"input_date",'Ticket_PBI'[input_date])
2.Use the following DAX expression to create a measure
_input_date = CALCULATE(SELECTEDVALUE('Table'[input_date]) ,'Table'[input_date] <= MAX('Calendar_PBI'[Date]))
3.Final output
Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks a lot, now its work 🙂
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |