Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
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 🙂
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
69 | |
35 | |
21 | |
18 | |
15 |
User | Count |
---|---|
126 | |
32 | |
28 | |
24 | |
24 |