Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hey guys,
In my initial data, I have a bet account number and a row for every day along with the sport that they bet on and a few more dimensions, I then have a few numerical measures such as margin after specials (above).
Now when I apply different filters, Power BI will sum up the values to give the correct number for the filters I choose.
The issue I have is that I need to find a count of the account numbers that sit in a negative balance. For that I need to create a measure that sums the margin for every account number and that number will change depending on the filters applied.
Essentially the measure should store whatever number is connected to the account number in the table above.
Can anybody help me ?
Solved! Go to Solution.
Try something like the below:
Measure = COUNTROWS(FILTER(ADDCOLUMNS(VALUES(Table[Bet_Account_Num]), "Margin", CALCULATE(SUM(Table[Margin_After_Specials])), [Margin] < 0)
Try something like the below:
Measure = COUNTROWS(FILTER(ADDCOLUMNS(VALUES(Table[Bet_Account_Num]), "Margin", CALCULATE(SUM(Table[Margin_After_Specials])), [Margin] < 0)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
11 | |
11 | |
8 |
User | Count |
---|---|
24 | |
18 | |
12 | |
11 | |
10 |