Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
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 table visual with numerical columns and a date column and a total line.
The total for the date column shows the latest date which is not helpful.
The matrix is filtered, but does not have a slicer.
I have changed the color of the total so it's mostly invisible, but would like to not show it at all.
Ana Maria Bisbe York presented a solution in her DAX webinar but I didn't understand it fully and it seemed too complex for my problem. (https://www.youtube.com/watch?v=2Des1Id-22A from 19:45 min)
Any ideas would be welcome. I'm new to power BI and don't really have a local community to consult with.
See the image below. The metric "Measure" was not calculated for Total line. How do I identify the total line? You need to understand how filter context works. On a high level each cell is calculated independently in a matrix. In the example,
for the first line, the table "Table" is filtered for date 01/01/2020 and sums the sales column for the returned rows.
for the second line, the table "Table" is filtered for date 01/05/2020 and sums the sales column for the returned rows and so on. So each row has a date filter which filters the table "Table" based on defined relationship. But the total line does not have any date filter. When the condition fails in HASONEFILTER, it just blanks out based on the measure formula.
Read this article to better understand the concept.
https://www.sqlbi.com/articles/row-context-and-filter-context-in-dax/
If it helps, mark it as a solution
Kudos are nice too.
Thank you for the through explination and the example.
If I understand correctly I need to replace my current Date of registrtion request column with the measure:
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 |
|---|---|
| 7 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 21 | |
| 12 | |
| 9 | |
| 5 | |
| 5 |