Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I am trying to add a flagged column to my visual for any row that has a Wave = 1 and a Delivery Rate < .85(85%).
I have been trying to use IF and FILTER statements but have had no success. The values continue to be returned as a 1 for every row regardless of wave or Delivery Rate.
Any help would be greatly appreciated!
Examples of Formulas used:
ClientName | BrandName | Wave | Sent | Delivered | Delivery_Rate |
Client1 | Brand1 | 1 | 1962 | 1840 | 94% |
Client1 | Brand1 | 1 | 934 | 767 | 82% |
Client1 | Brand1 | 1 | 920 | 747 | 81% |
Client1 | Brand1 | 1 | 2052 | 1992 | 97% |
Client1 | Brand1 | 2 | 1989 | 1939 | 97% |
Client1 | Brand1 | 2 | 1916 | 1799 | 94% |
Client1 | Brand1 | 2 | 857 | 752 | 88% |
Client1 | Brand1 | 2 | 824 | 721 | 88% |
Client1 | Brand1 | 3 | 1963 | 1908 | 97% |
Client1 | Brand1 | 3 | 1897 | 1770 | 93% |
Client1 | Brand1 | 3 | 846 | 740 | 87% |
Client1 | Brand1 | 3 | 788 | 686 | 87% |
Client2 | Brand2 | 1 | 35390 | 29522 | 83% |
Client2 | Brand2 | 1 | 35446 | 29667 | 84% |
Client2 | Brand2 | 2 | 32640 | 28862 | 88% |
Client2 | Brand2 | 2 | 32449 | 28690 | 88% |
Thank You,
Ryan
Solved! Go to Solution.
@RPATER , Wave seems like a column and Delivery Rate like a measure
Try one of the two
Risk =
var Risk = CALCULATE([Delivery_Rate],filter(Query1, Query1[Wave]=1))
return
if(Risk<.85,1,0)
Risk =
var Risk = CALCULATE([Delivery_Rate],filter(Query1, Query1[Wave]=1))
return
CALCULATE(if(Risk<.85,1,0), values(Query1[ClientName]), , values(Query1[BrandName]))
Hi, @RPATER
Please try the below.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
Hi, @RPATER
Please try the below.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
@RPATER , Wave seems like a column and Delivery Rate like a measure
Try one of the two
Risk =
var Risk = CALCULATE([Delivery_Rate],filter(Query1, Query1[Wave]=1))
return
if(Risk<.85,1,0)
Risk =
var Risk = CALCULATE([Delivery_Rate],filter(Query1, Query1[Wave]=1))
return
CALCULATE(if(Risk<.85,1,0), values(Query1[ClientName]), , values(Query1[BrandName]))
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
12 | |
10 | |
6 |