power bi help
16 TopicsTableau formula to dax
I'm currently in the process of transitioning Tableau reports to Power BI, and I'm encountering challenges with converting certain Tableau formulas into DAX expressions. One formula in particular has me stumped, and I'm seeking assistance to translate it. The Tableau formula involves the use of the FIXED function, which I'm not familiar with, and I'm unsure how to replicate its functionality in DAX. Here's the Tableau formula: IF { FIXED [Sales Document]: COUNT( IF [OT RDD HDR Flag | T,F] = TRUE AND [IF RDD HDR Flag | T,F] = TRUE THEN [Sales Document] END ) } = {FIXED [Sales Document] : COUNTD([Sales Document Item])} THEN 1 ELSE 0 END Any guidance or assistance with this translation process would be greatly appreciated."858Views0likes2CommentsOn premise gateway logs - Dataset and Gateway connecton
Hello, We have a Power BI On Premise gateway server. I can loginto the server and run the Gateway Performance Monitoring Pbit file (Monitor and optimize on-premises data gateway performance | Microsoft Docs) which gave me information such as datasource type, the query executed, excution length. What I need is the Dataset name and who configured the scheduled refresh. When I look Gateway performance template report and notice some long running queries I want to inform the user of the dataset but I cant find that information. I may be missing something. The fields does not have any Dataset or user names. I thought this would be easy information to find but found out its not. How do you admins maintain /monitor your on premise gateway performance. Thanks,Solved7.6KViews0likes6CommentsCreate a new table with colmuns filtered by dates
Hellow everyone. I am working on a new table that is built from a database that includes this columns: Clients, Accounts, Dates (from month 1 to month12) and Values And I need to organice in a separate table per Clients and Accounts the values from moth 1, next the values from moth 2 andso on. I tried with the next code but I find ount that the GENERATE function do not allow dates in the filters and I also cannot add the Accounts column next to the Clients column. Table_1 = GENERATE ( VALUES ( Table[Clients] ), VALUES ( Table[Accounts] ), VAR Month1 = CALCULATE ( SUM ( Table[Value] ), Table[Month] = "31-01-2022" ) VAR Month2 = CALCULATE ( SUM ( Table[Value] ), Table[Month] = "28-02-2022") ..... RETURN ROW ( "Month_1", Month1, "Month_2", Month2 ) ) Thanks in advance!!!Solved705Views0likes3CommentsCompare columns based on two different table
Hi, How to compare columns in two different table ,I have tried with full outer join but not working as expected. Please check sample data provided below input of two tables and output expected. Example: table1: member deal qty date T90 A20 10.5 10/18/2020 T90 A21 68.55 10/3/2020 T90 A21 68.26 10/3/2020 T90 A22 17.41 10/9/2020 table2: Member Deal Qty Date T90 A21 68.55 2020-10-03 T90 A21 68.26 2020-10-03 T90 A22 17.41 2020-10-09 Expected output: tbl1.deal tbl2.Deal Matching Deal tbl1.member tbl2.Member Matching Member tbl1.date tbl2.Date Matching Date tbl1.qty tbl2.Qty Matching Qty A20 No T90 No 10/18/2020 No 10.5 No A21 A21 Yes T90 T90 Yes 10/3/2020 10/3/2020 Yes 68.55 68.55 Yes A21 A21 Yes T90 T90 Yes 10/3/2020 10/3/2020 Yes 68.26 68.26 Yes A22 A22 Yes T90 T90 Yes 10/9/2020 10/9/2020 Yes 17.41 17.41 Yes Thanks, SBCSolved6.6KViews0likes3CommentsEmployee Retention, Filtering Based on Job Title and Business Location
Hi everyone, Thanks to this group I managed to work on my dax to calculate retention % for the business. However, the problem that I'm experiencing is when I tried to filter my visualization based on Job Title or Business Unit code, my measure doesn't change in line with the filter. My aim is to see retention % based on different business units and job title's so we can identify possible challenges for retaining talent within the organization. Here is my DAX: Thank you so much for the support! Retention % = VAR _Previous12START = EOMONTH ( MAX ( 'Calendar'[Date] ), -13 ) + 1 VAR _Previous12END = EOMONTH ( MAX ( 'Calendar'[Date] ), -1 ) VAR _LEFT = CALCULATE ( COUNT ( 'Master Data'[Employee Code] ), FILTER ( ALL ( 'Master Data' ), 'Master Data'[Date Engaged] >= _Previous12START && 'Master Data'[Date Engaged] <= _Previous12END && 'Master Data'[Date of Resignation] >= _Previous12START && 'Master Data'[Date of Resignation] <= _Previous12END ) ) + 0 VAR _Total = CALCULATE ( COUNT ( 'Master Data'[Employee Code] ), FILTER ( ALL ( 'Master Data' ), 'Master Data'[Date Engaged] <= _Previous12END && OR ( 'Master Data'[Date of Resignation] >= _Previous12START, 'Master Data'[Date of Resignation] = BLANK () ) ) ) RETURN 1 - DIVIDE ( _LEFT, _Total ) This is how the visualization look like:Solved571Views0likes1CommentHow to calculate the difference between two rows of a single column in power BI
Hi, How to calculate the difference between buy and sell of a salesvalues coulmn based on country by converting to rows to column of buy_sell column . Input: Country category buy_sell salesvalues India A buy Null India A sell -75,500.00 USA B buy -60,095 USA B sell 70,901 AUS C buy 29,923 AUS C sell -3,260,307 AUS D buy -60,750.00 AUS D sell -1500 USA E buy 10 USA E sell 20 USA F buy -20000 USA F sell Null Expected Output: Thanks, SBCSolved1KViews0likes3CommentsRow Level Security using AD-ENT group
Hello, I have a PBI model and want to do Row Level Security. I don't want to do this creating roles; instead I am hoping this can be done using AD groups. We currently have one AD group that people get added to when they want to view our dashboards. I would like to create an additional AD group which would restrict the records people in this new AD group have access to. I would like to create a simple table of two columns - 1. the AD Group, and 2. An Indicator. The indicator is the field I would use to determine what the AD Group has access to; it would have values of 0 or 1. I would add this table to the model and join it to the fact table by the Indicator. When a person views a dashboard, they would then either be restricted from seeing some records or be able to see everything based on the indicator and what AD Group they are in. Is this possible? I've been playing around with AD tables but I haven't seen any field values that match with our AD Group names. Thanks!Solved1.9KViews0likes4Comments