The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
To Display value in card based on slicer selection but from another table
I Have created one slicer of table customer , if I select a customer name then i want to show that customer last sales based on selection of that slicer
Lastsalesdone=lastdate(transaction[date]) this formual is working
DisplayValue= IF(ISFILTERED(Customer[Sitename]),FIRSTNONBLANK(,1),"Please select Site name")
Now problem in display valu formual is after firstnonblank i am not getting measure Displayvlaue there so please help me hwo to do
Display value measure is from transcation table
and sitename is from customer table @tyemy @amitchandak @v-janeyg-msft
Solved! Go to Solution.
@bilalkhokar73, Try like
DisplayValue=
var _max = maxx(allselected(transaction) ,transaction[date])
var _customer= calculate(FIRSTNONBLANK(Table[Csutomer],1), filter(transaction,transaction[date] =_max))
return
IF(ISFILTERED(Customer[Sitename]),_customer,"Please select Site name")
@bilalkhokar73, Try like
DisplayValue=
var _max = maxx(allselected(transaction) ,transaction[date])
var _customer= calculate(FIRSTNONBLANK(Table[Csutomer],1), filter(transaction,transaction[date] =_max))
return
IF(ISFILTERED(Customer[Sitename]),_customer,"Please select Site name")
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
119 | |
87 | |
75 | |
53 | |
45 |
User | Count |
---|---|
135 | |
128 | |
77 | |
64 | |
64 |