User Profile
Tomfiki
Frequent Visitor
Joined 5 years ago
User Widgets
Contributions
Re: Can't add a user to an app after updating Power BI
kenmuir71 Hi, had the exact same issue today. Managed to find out it was because one of the users in the app had an inactive e-mail address (left the company). After removing inactive users, I was able to add new users and update the app without an issue. *btw. if you have a lot of users and are not sure which ones are inactive, you can do this (if these are users from your company's Outlook address book): Select the whole list >> paste it to Excel >> filter only @ to filter only e-mail addresses >> copy paste to next sheet only the e-mail addresses >> use =A1&";" in cell B1 and pull it down >> use =CONCAT(B1:B20) in cell C1 (adjust number 20 based on number of rows used) >> copy the result from cell C1 >> create new e-mail in Outlook >> paste it into "To" field >> click somewhere else >> Outlook should display a message that "We won't be able to deliver this message to xx"897Views0likes0CommentsMeasure with values matching another table (no relationships)
Hello all, Could you please help me get this DAX formula working? ShipTest2 = CALCULATE([Shipments],FILTER(MTH_Table,MTH_Table[MTH]=VALUES(DATES[Month]))) I need to have the result in the first matrix the same as in the second matrix. I was not able to figure out how to separate the numbers for the first table into months - the column MTH in MTH_table has no relationship with Month in DATES table. The only way I was able to get this "working" was to create 12 separate measures for each month which is not very efficient, I'd say. Please don't get into why I ask this stupid question. 😄 I need to further include in the calculation another measure with another date table. I apologize if the solution is already here somewhere, I was not able to find it.Solved4.8KViews0likes4CommentsRe: How to make RANKX work for columns/different categories
AntrikshSharma AlB Thank you both very much! I tried your Top 3 formula but it was still showing me wrong result when "Color" was not in the visual. I managed to get it working by adding a new table Slicer_CustGroups = DISTINCT(VALUES('AA_Master Data'[CMN])) and a new ranking column. Customer Grp = VAR topx = RANKX(ALL(Slicer_CustGroups[CMN]),CALCULATE(SUM('AA_Master Data'[Sales+RoFoACT]),ALL('AA_Master Data'[CMN])),,DESC) RETURN SWITCH(TRUE(),topx<=3,"1) Top 3 Customers",topx<=10,"2) 4.-10. Cust.",topx<=20,"3) 11.-20. Cust.",topx<=50,"4) 21.-50. Cust.",topx<=100,"5) 51.-100. Cust.","6) Remaining Cust.") I know it is not the cleanest solution but it works which is the main thing to me and I can also use it as a slicer.3.1KViews4likes0CommentsRe: How to make RANKX work for columns/different categories
Hi AlB, Thank you for the reply. It doesn't work, it gives me this error. I am not sure if I can have 'AA_Master Data'[FieldInColumns] within CALCULATE without ALL/ALLSELECTED/VALUES etc. If I use them, then the result is incorrect, same as in original post.3.2KViews0likes0CommentsHow to make RANKX work for columns/different categories
Hello, Could you please help me get this DAX formula working? I need a formula which will always display result for Customer Group by total sales for that customer (e.g. for top 3 customers). I tried to use this one (CMN = Customer): Sales_byGroup = CALCULATE([SALES+RoFo], FILTER(VALUES('AA_Master Data'[CMN]), COUNTROWS(FILTER(Customer_Groups, RANKX(ALL('AA_Master Data'[CMN]),[SALES+RoFo],,DESC)>=Customer_Groups[Min_CustGroup] && RANKX(ALL('AA_Master Data'[CMN]),[SALES+RoFo],,DESC)<=Customer_Groups[Max_CustGroups])) >0)) But, as you can see from the picture, it gives me result for top 3 values per each category - red brackets - e.g. top 3 CMN values in MSGE group, then top 3 values in FCGE group etc... what I need is MSGE sales for top 3 CMN (customers) - green bracket. Then it would do the same for 3.-10, customer and so on. I'll be gratefull for any help. Thank you, Tomas I am sorry but I cannot share the .pbix file. I can make more print-screens if required.Solved3.3KViews0likes13CommentsRe: Dates table relationship not working properly
Hi daxer-almighty, Thank you for your advise. I've now watched the YT video you mentioned and removed the bi-dir relationship from dates tables. Can I ask what are the exact rules? I understand I should never use bi-dir relationship when it creates 2 (or more) pathways from one table to another. But if it is only between 2 tables while one of them has no relationship with any other table... why it then creates an issue? Regarding your second observation - I just need this one page to list all the details available. Apart from that I have multiple other pages to summarize and display data while dynamically selecting measures etc. - to the best of my very limited knowledge. I just deleted these pages since it had nothing to do with this perticular issue.1.4KViews0likes0Comments
Data Privacy
Microsoft Fabric Community and Privacy
To learn more about how we manage your data, please review the Microsoft Fabric Community Data Privacy guide.