The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
What I want to create is a measure in Dim_Client that shows the data of Age, Gender, Name only if the colomn Client_Info = 1.
Example: If(Client_Info = 1 then show: Age, Gender, Name), Else (Show blank())
Access to the Power BI File:
https://www.dropbox.com/s/ap7m662l3qup8wj/Auth_Set.pbix?dl=0
Thanks!
Solved! Go to Solution.
You can create the measure likke:
_Age =
IF (
SELECTEDVALUE ( Dim_auth[Client_Info] ) = 1,
TOPN ( 1, VALUES ( Dim_Client[Age] ) )
)
Please check the updated file
You can create the measure likke:
_Age =
IF (
SELECTEDVALUE ( Dim_auth[Client_Info] ) = 1,
TOPN ( 1, VALUES ( Dim_Client[Age] ) )
)
Please check the updated file
User | Count |
---|---|
25 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
11 | |
10 | |
10 | |
9 |