cardinality
3 TopicsDifferent types of many-to-many relationships in Power BI
The sentence "many-to-many relationships" has different meanings in Power BI. The "classic" many-to-many relationships in a data warehouse is a design pattern requiring a bridge table. A many-to-many cardinality relationship in Power BI is different from the one commonly used in dimensional modeling, and it commonly solves a granularity issue in managing data coming from different data sources. This session clarifies design patterns and best practices for using the different types of many-to-many relationships in a Tabular model for Power BI and Analysis Services. About Speaker: Marco is a business intelligence consultant and mentor. He wrote several books about Power BI, Analysis Service, and Power Pivot. He also regularly write articles and white papers that are available on sqlbi.com. Marco is a Microsoft MVP and an SSAS Maestro, the highest level of certification on Microsoft Analysis Services. 𝙋𝙚𝙧𝙨𝙞𝙖𝙣 𝙋𝘽𝙄𝙐𝙂- 𝙈𝙞𝙘𝙧𝙤𝙨𝙤𝙛𝙩 𝘾𝙤𝙢𝙢𝙪𝙣𝙞𝙩𝙮: https://bit.ly/3IAg7xT 𝙇𝙞𝙣𝙠𝙚𝙙𝙄𝙣: https://bit.ly/32tGkif 𝙏𝙚𝙡𝙚𝙜𝙧𝙖𝙢 𝘾𝙝𝙖𝙣𝙣𝙚𝙡: https://t.me/PersianPBIUG 𝙔𝙤𝙪𝙏𝙪𝙗𝙚: https://bit.ly/3hk20RL Language: English210Views0likes0CommentsColumn Comparison - Vlookup
I have two columns I need to compare, one column: 'MOM Stocking Report': Shows all stocked items & 'Demand Seg': Shows the complete list of purchased items. I need to compare them against one another to know which ones are stocked and which are not. As you can see the equation below, it appears to get me halfway there as the pie chart does capture the data, however I am not certain this is correct, Also when I click on the 'YES' stocked pie chart, the table shows nothing. Also, technically the 'Agreement Level' should be a 0 if 'Not Stocked' or come back with null. My relationship cardinality is at Many to Many , it wont let me change- I have removed all duplicates from Power Query. So I am basically out of ideas: My Stock or Not Equation: Stocking Agreement? = if(isblank(countx(filter('MOM Stocking Report','MOM Stocking Report'[Item Number]='Demand Seg'[ITEM NUMBER]),'MOM Stocking Report'[Item Number])),"YES","NO")1.2KViews0likes2CommentsSUMX over dimension table
Hello, im trying to optimize my sumx measure. my goal is to use a table that has fewer rows to make my iteration measure efficient. In my example, i have a trial balance which is my fact table containing the gl code, company code and amount. above it is gl mapping table which contains the gl code, gl name, company code and acct type. finally above the gl mapping table, i created two dimension tables , company code and acct type. to illustrate: company code table : accty type table gl mapping trial balance I have created a simple sumx measure like this: SUMX( Glmapping, IF( Glmapping[Account Type]="PL", CALCULATE(SUM(TB[amount])), CALCULATE(SUM(TB[amount])*-.3, ALLEXCEPT(Glmapping,Glmapping[Company Code])))) the above measure works fine, but i wanted to change the table to refer to the a cross join of the two above dimension table: SUMX( CROSSJOIN(VALUES('Account Type'[Account Type]),VALUES(Company[Company code])), IF( 'Account Type'[Account Type]="PL", CALCULATE(SUM(TB[amount])), CALCULATE(SUM(TB[amount])*-.3, ALLEXCEPT(Glmapping,Glmapping[Company Code])))) i having a weird result. appreciate if you can explain me why. I do have sample power pivot file, dont know how to attach it in this message to better illustrate my question.Solved5.6KViews0likes10Comments