Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Les_Grosman
Regular Visitor

Get Values from one table not present in another filtered table

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.

Les_Grosman_0-1686047541050.pngLes_Grosman_1-1686047575226.png

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?

1 ACCEPTED SOLUTION
Les_Grosman
Regular Visitor

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:

Les_Grosman_1-1686136903194.png

All filters work. And I alse create same measures for other dims (user etc.)

View solution in original post

1 REPLY 1
Les_Grosman
Regular Visitor

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:

Les_Grosman_1-1686136903194.png

All filters work. And I alse create same measures for other dims (user etc.)

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.