The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I met the following problem, appreciate if anybody can help with that.
3. I use a measure called cal1
While you can't make a calculated table that is dynamic to your slicer, but you can make a virtual table in a measure like this one.
VirtualTableMeasure =
VAR v1 =
SELECTEDVALUE ( SlicerValue[Value] )
VAR _table =
ADDCOLUMNS ( GENERATESERIES ( 1, 10, 1 ), "@value", v1 * [Value] )
RETURN
SUMX ( _table, [@value] )
// or do some other analysis on this virtual table
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Thanks for your reply. I tried your DAX code but it comes the error message "The expression specified in the query is not a valid table expression."
So sad to hear that, it's very important for me to develop a dynamic calaulated report.
Why Power BI can't do that???
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
7 | |
7 |