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.
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 |
---|---|
23 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
12 | |
11 | |
7 | |
6 |