Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
I have two tables billing Status , billing rate and billing information(Rate and information table table have relation ship) but Billing status table dont have any relationship becacuse its hardcoded value in ssrs. I am looking for dax function to convert bellow query.
IF @B.@Status = '1
BEGIN
SET @Anonymous = @Anonymous + @CRLF + 'AND AR.EFFECTIVE_DATE <= GETDATE() AND AR.TERMINATION_DATE >= GETDATE() ' + @CRLF
SET @Anonymous = @Anonymous + @CRLF + 'AND AC.EFFECTIVE_DATE <= GETDATE() AND AC.TERMINATION_DATE >= GETDATE() ' + @CRLF
END
IF @Billing_Status = '2'
BEGIN
SET @Anonymous = @Anonymous + @CRLF + 'AND AR.TERMINATION_DATE < GETDATE() ' + @CRLF
--SET @Anonymous = @Anonymous + @CRLF + 'OR AC.TERMINATION_DATE < GETDATE()) ' + @CRLF
END
@Narayana3635 ,
Could you please describe more about the above query? We would need to know what @CRLF,@SQL, AR, AC refer to in the above query.
You can follow the instructions in this blog to share sample data of your tables and post expected result here.
Regards,
Lydia
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 38 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 34 | |
| 33 | |
| 30 |