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
Hello,
i have a situation on image :
I need to calculate number of distinct values from first column who have more than 2% of last column, and i want to put this information into new card. I want to see number of 4.
How to write dax code?
Solved! Go to Solution.
@simaue
Create a measure as follows:
NewMEASURE =
COUNTROWS (
FILTER (
ADDCOLUMNS ( VALUES ( table[Sifra cupca] ), "@m", [iUcescesUprometu] ),
[@m] > 0.02
)
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@simaue
Create a measure as follows:
NewMEASURE =
COUNTROWS (
FILTER (
ADDCOLUMNS ( VALUES ( table[Sifra cupca] ), "@m", [iUcescesUprometu] ),
[@m] > 0.02
)
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hello @simaue ,
kindly provide a sample data that we can copy so we could provide a solution. also the measure for the percentage column.
Proud to be a Super User! | |
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 |
---|---|
113 | |
81 | |
72 | |
49 | |
41 |
User | Count |
---|---|
139 | |
119 | |
74 | |
64 | |
63 |