Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I have a Maxtrix built from data based on when a Client visits.
The Rows are organized by "Client Name" then "Visit Date". Columns being what's shown. When expanded, the Rows look like this:
When the rows are collapsed, the value shown under Last Visit Date, Weekday, etc... are the FIRST values found for that Client.
Is it possible to flip that, so instead the LAST values are shown?
So when collapsed, the first Client should show the values of "5/12/2021", "Wednesday", "8:00 AM" ,"3" instead of what's seen in the first picture?
I can get the Last Visit Date working by changing the Field to "Latest", but that workaround won't work for the other non-date fields.
Thanks
Solved! Go to Solution.
Hi @Cayshin ,
Try the following measures:
Latest Visit Date = MAX('Table'[Visit Date])Last Weekday = MAXX( FILTER( 'Table', 'Table'[Visit Date] = MAX('Table'[Visit Date]) ), 'Table'[Weekday] )Last Visit Time = MAXX( FILTER( 'Table', 'Table'[Visit Date] = MAX('Table'[Visit Date]) ), 'Table'[Visit Time] )Last Visitors = SUMX( FILTER( 'Table', 'Table'[Visit Date] = MAX('Table'[Visit Date]) ), 'Table'[Visitors] )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Cayshin ,
Try the following measures:
Latest Visit Date = MAX('Table'[Visit Date])Last Weekday = MAXX( FILTER( 'Table', 'Table'[Visit Date] = MAX('Table'[Visit Date]) ), 'Table'[Weekday] )Last Visit Time = MAXX( FILTER( 'Table', 'Table'[Visit Date] = MAX('Table'[Visit Date]) ), 'Table'[Visit Time] )Last Visitors = SUMX( FILTER( 'Table', 'Table'[Visit Date] = MAX('Table'[Visit Date]) ), 'Table'[Visitors] )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 44 | |
| 40 | |
| 18 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 69 | |
| 32 | |
| 32 | |
| 32 |