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
Hello Im using a matrix visual and have two columns I'm pulling into values. (Reduced Hours and HTS Category ) these are displayed by week.
However, I only want the the HTS Category value to show for the last reporting week, I don't need to see it for previous weeks. I would like to see the Reduced Hours for every week. does anyone have any suggestions? Essentially Id like to just shows the areas in yellow and not ones in Red
Solved! Go to Solution.
Hi @jcastr02 ,
You can create a measure as below and replace the field [HTS Category] with this new measure on the matrix visual.
Measure =
VAR _maxweek =
CALCULATE ( MAX ( '***ReducedHours'[Week] ), ALLSELECTED ( '***ReducedHours' ) )
RETURN
IF (
SELECTEDVALUE ( '***ReducedHours'[Week] ) = _maxweek,
MAX ( '***ReducedHours'[HTS Category] ),
BLANK ()
)
If the above one can't help you, please provide some raw data in your table (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:
How to provide sample data in the Power BI Forum
How to Get Your Question Answered Quickly
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Hi @jcastr02 ,
You can create a measure as below and replace the field [HTS Category] with this new measure on the matrix visual.
Measure =
VAR _maxweek =
CALCULATE ( MAX ( '***ReducedHours'[Week] ), ALLSELECTED ( '***ReducedHours' ) )
RETURN
IF (
SELECTEDVALUE ( '***ReducedHours'[Week] ) = _maxweek,
MAX ( '***ReducedHours'[HTS Category] ),
BLANK ()
)
If the above one can't help you, please provide some raw data in your table (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:
How to provide sample data in the Power BI Forum
How to Get Your Question Answered Quickly
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Thanks so much @Anonymous !! I got this to work. Is there a way to get the previous weeks columns to not show at all (show only the reduced hours column for previous weeks, but not the others)
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 | |
| 45 | |
| 41 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 67 | |
| 33 | |
| 31 | |
| 29 |