Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a table of facts and several tables of measures to supplement it.
I need to output a list of report names that do not occur in the fact table for the selected date.
I will need to do similar manipulations with other measures (users, workgroups, etc.) And these measures can be both a source for the list of values and a filter for the fact table.
Any Ideas how to do it?
Solved! Go to Solution.
Found solution by myself.
I have created mesure:
isMissingReport =
VAR CurrentReportID = SELECTEDVALUE( report[id] )
VAR FilteredReportIDs =
CALCULATETABLE (
VALUES ( fact[reportid] )
)
RETURN
IF (
NOT CONTAINS ( FilteredReportIDs, fact[reportid], CurrentReportID ),
"TRUE",
"FALSE"
)
and add this measure in visuals as filter.
As result have this picture:
All filters work. And I alse create same measures for other dims (user etc.)
Found solution by myself.
I have created mesure:
isMissingReport =
VAR CurrentReportID = SELECTEDVALUE( report[id] )
VAR FilteredReportIDs =
CALCULATETABLE (
VALUES ( fact[reportid] )
)
RETURN
IF (
NOT CONTAINS ( FilteredReportIDs, fact[reportid], CurrentReportID ),
"TRUE",
"FALSE"
)
and add this measure in visuals as filter.
As result have this picture:
All filters work. And I alse create same measures for other dims (user etc.)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |