The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |