Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I would like to ask one thing that is there any provision of passing runtime parameters in power reports ?
Like in the case of jaspersoft, we can pass runtime parameters, is there any optio nin power bi also ?
I am attaching the jasper query here for reference.
Hope to hear from you soon.
Thanks !
Query :
WHERE $X{IN, PRODUCTNAME, PRODUCT} AND CHALLENGEDTIMESTAMP BETWEEN LAST_DAY(ADD_MONTHS(TO_DATE($P{DATE_STR},'DD-MON-YYYY'),-13))+1
AND LAST_DAY(ADD_MONTHS(TO_DATE($P{DATE_STR},'DD-MON-YYYY'),-1))
AND $X{IN, INITCAP(CLIENTNAME), Client_Names}
AND
(SUBSTR(ORIGINATOREMAIL,INSTR((ORIGINATOREMAIL),'@',1)) like (select DISTINCT SUBSTR(ORIGINATOREMAIL,INSTR((ORIGINATOREMAIL),'@',1)) from CORE_DATACHALLENGE.MVIEW_PRICING_CHALLENGES
WHERE ENCRYPTED_EMAIL = $P{CLIENT_EMAIL} )
OR encrypted_domain =$P{d})
GROUP BY TO_CHAR(CHALLENGEDTIMESTAMP,'YYYYMM'
Hi @tarun912 ,
If I understood you corrcetly, VAR and RETURN are what you want. You can refer to these documents:
VAR: The best thing to happen to DAX since CALCULATE()
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |