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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Vivdroid_C_4222
Frequent Visitor

How to show a list of values present in the Dimension table but not in the Fact table.

I have a DistributorMaster table and a Distribuotors Billed table. Both the tables are connected via a common column called DistributorId

 

Distribuotors Billed table is a transactional table.

 

I have created a table visual that shows a list of Distributors from the master table.

 

I want to show only those distributors that are present in the master table but not in the transactional table for a the selected date range.

 

How can I do this ??

1 ACCEPTED SOLUTION
bhanu_gautam
Super User
Super User

@Vivdroid_C_4222 Create a calculated table that lists the distributors from the master table that are not in the transactional table for the selected date range.

DAX
DistributorsNotBilled =
VAR SelectedDateRange = VALUES('DateTable'[Date])
RETURN
FILTER(
DistributorMaster,
NOT (
DistributorMaster[DistributorId] IN
CALCULATETABLE(
VALUES(DistribuotorsBilled[DistributorId]),
DistribuotorsBilled[Date] IN SelectedDateRange
)
)
)

 

Create a measure to filter the visual based on the selected date range.

DAX
DistributorsNotBilledMeasure =
VAR SelectedDateRange = VALUES('DateTable'[Date])
RETURN
CALCULATE(
COUNTROWS(DistributorMaster),
FILTER(
DistributorMaster,
NOT (
DistributorMaster[DistributorId] IN
CALCULATETABLE(
VALUES(DistribuotorsBilled[DistributorId]),
DistribuotorsBilled[Date] IN SelectedDateRange
)
)
)
)




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Vivdroid_C_4222,

 

we would like to follow up to see if the solution provided by the super user resolved your issue. Please let us know if you need any further assistance.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Regards,
Vinay Pabbu

Anonymous
Not applicable

Hi @Vivdroid_C_4222,

 

we would like to follow up to see if the solution provided by the super user resolved your issue. Please let us know if you need any further assistance.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Regards,
Vinay Pabbu

Anonymous
Not applicable

Hi @Vivdroid_C_4222,

 

we would like to follow up to see if the solution provided by the super user resolved your issue. Please let us know if you need any further assistance.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Regards,
Vinay Pabbu

bhanu_gautam
Super User
Super User

@Vivdroid_C_4222 Create a calculated table that lists the distributors from the master table that are not in the transactional table for the selected date range.

DAX
DistributorsNotBilled =
VAR SelectedDateRange = VALUES('DateTable'[Date])
RETURN
FILTER(
DistributorMaster,
NOT (
DistributorMaster[DistributorId] IN
CALCULATETABLE(
VALUES(DistribuotorsBilled[DistributorId]),
DistribuotorsBilled[Date] IN SelectedDateRange
)
)
)

 

Create a measure to filter the visual based on the selected date range.

DAX
DistributorsNotBilledMeasure =
VAR SelectedDateRange = VALUES('DateTable'[Date])
RETURN
CALCULATE(
COUNTROWS(DistributorMaster),
FILTER(
DistributorMaster,
NOT (
DistributorMaster[DistributorId] IN
CALCULATETABLE(
VALUES(DistribuotorsBilled[DistributorId]),
DistribuotorsBilled[Date] IN SelectedDateRange
)
)
)
)




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors