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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
PowerWhy
Helper IV
Helper IV

Using relatedtable insteard of related function

Hello,

 

The formula below is failing because I am trying to use the RELATED function on the many side of a 1:many relationship. I've read that it should work using the function "RELATEDTABLE" but I can't seem to get my head around it - please can you tell me how to edit the highlighted code below? 

 

PowerWhy_0-1679250103161.png

 

Thank you,

 

CM

 

(p.s. I know there are better ways of finding the "count of unique customers for prior fiscal year" but I'm just practicing how to use the functions)

1 REPLY 1
andhiii079845
Solution Sage
Solution Sage

You see here how it works:

https://www.sqlbi.com/articles/using-related-and-relatedtable-in-dax/





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.