Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi All,
I am trying to create a calculated column based on a set of on-prem Virtual Machine attributes (CPU, RAM, Target Azure Region).
The calculation should evaluate the existing attributes and best match them to an Azure VM Sku, based on its CPU, RAM, and Available region. (Getting this data from the Azure Retail Prices API for VM's)
I have been able to get the formula to populate an Azure VM Sku - But its not right and only providing one Sku for all on-prem VMs.
Then once a Sku has been assigned, there are 3 additional columns that will be populated, showing the Azure VM CPU and RAM sizes, along with the Retail prices for both Windows and Linux OS... However once its calculated, I am only getting back the Linux retail prices and not the Windows prices... Any help would be greatly appreciated. Screenshots are down below, along with the DAX formulas and
Sku Assigner
Azure VM Sku Calculated Column:
Hi @WlConley
Can you provide some sample data as well as the expected output of the 4 columns in table format that can be copied? Can you explain the logic of the sku column that you want to achieve?
Best Regards,
Jing
Hi @Anonymous
Yes, the API used to pull in the retail pricing for VM's is the following API link : Azure Retail Price VM API
Link to sample data is located here - Sample Data sets (Azure VM Sku's, VM Input List)
The output I would like to achieve would look like the following:
VM Name | CPU | Memory (RAM) | Operating System | Target Azure Region | Azure PAYG Target Name | Azure CPU | Azure Memory (RAM) | PAYG Retail Hour Price |
VM01 | 2 | 8 | Windows | US East 2 | Standard_D2_v3 | 2 | 8 | $0.22 |
VM02 | 8 | 16 | Linux | US East 2 | Standard_F8s | 8 | 16 | $0.65 |
The logic I am trying to write does a few things:
If you are having trouble accessing the sample files, please let me know!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.